Desktop (please complete the following information):
OS: Ubuntu 22.04
Add any other context about the problem here.
Hello, I am a researcher who wants to start HiC analysis.
I am testing HiC analysis using juicer program.
When I run it, an error message related to java momory appears.
So I re-configured the swap memory and heap space settings, but only the same message appears.
Picked up _JAVA_OPTIONS: -Xmx1024m -Xms1024m
Exception in thread "main" java.lang.RuntimeException: Unknown command: statistics
at juicebox.tools.HiCTools.main(HiCTools.java:98)
Picked up _JAVA_OPTIONS: -Xmx150000m -Xms150000m
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f95c0000000, 157303177216, 0) failed; error='Not enough space' (errno=12)
#
There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map 157303177216 bytes for committing reserved memory.
An error report file with more information is saved as:
===============================================================================================
As a result of checking the current Java memory, InitialHeapSize and MaxHeapSize clearly appear to be the values I set.
However, looking at the error, the first -Xmx1024m -Xms1024m seems to have been skipped because it is similar to the setting value.
However, the next value -Xmx150000m -Xms150000m is too large.
I wonder if I need to prepare this much memory or if it can be modified.
The total memory of the PC currently in use is 64G.
The contents below are the current overall state of Java memory.
Desktop (please complete the following information):
Add any other context about the problem here. Hello, I am a researcher who wants to start HiC analysis. I am testing HiC analysis using juicer program. When I run it, an error message related to java momory appears. So I re-configured the swap memory and heap space settings, but only the same message appears.
Picked up _JAVA_OPTIONS: -Xmx1024m -Xms1024m Exception in thread "main" java.lang.RuntimeException: Unknown command: statistics at juicebox.tools.HiCTools.main(HiCTools.java:98) Picked up _JAVA_OPTIONS: -Xmx150000m -Xms150000m OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f95c0000000, 157303177216, 0) failed; error='Not enough space' (errno=12) #
There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map 157303177216 bytes for committing reserved memory.
An error report file with more information is saved as:
=============================================================================================== As a result of checking the current Java memory, InitialHeapSize and MaxHeapSize clearly appear to be the values I set. However, looking at the error, the first -Xmx1024m -Xms1024m seems to have been skipped because it is similar to the setting value. However, the next value -Xmx150000m -Xms150000m is too large. I wonder if I need to prepare this much memory or if it can be modified. The total memory of the PC currently in use is 64G.
The contents below are the current overall state of Java memory.
size_t ErgoHeapSizeLimit = 0 {product} {default} size_t HeapSizePerGCThread = 43620760 {product} {default} size_t InitialBootClassLoaderMetaspaceSize = 4194304 {product} {default} size_t InitialHeapSize = 1052770304 {product} {ergonomic} size_t LargePageHeapSizeThreshold = 134217728 {product} {default} size_t MaxHeapSize = 16798187520 {product} {ergonomic} size_t MaxMetaspaceSize = 18446744073709547520 {product} {default} size_t MetaspaceSize = 21807104 {pd product} {default} uintx NonNMethodCodeHeapSize = 7594288 {pd product} {ergonomic} uintx NonProfiledCodeHeapSize = 122031976 {pd product} {ergonomic} uintx ProfiledCodeHeapSize = 122031976 {pd product} {ergonomic} size_t ShenandoahSoftMaxHeapSize = 0 {manageable} {default} intx ThreadStackSize = 1024 {pd product} {default} intx VMThreadStackSize = 1024 {pd product} {default} openjdk version "11.0.20.1" 2023-08-24 OpenJDK Runtime Environment (build 11.0.20.1+1-post-Ubuntu-0ubuntu120.04) OpenJDK 64-Bit Server VM (build 11.0.20.1+1-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)