Opening error in linux

Hello!

I have installed SNAP v9 in linux using command:

INSTALL4J_ADD_VM_PARAMS=“-Xmx1024M” bash esa-snap_sentinel_unix_9_0_0.sh

However, I am not able to open the SNAP. It gives following error (some additional information added as well):

[ave94@login2 ~] snap --nosplash --nogui --modules --list /gpfs/space/home/ave94/snap/bin/../platform/lib/nbexec: WARNING: environment variable DISPLAY is not set Error occurred during initialization of VM java.lang.OutOfMemoryError: unable to create new native thread [ave94@login2 ~] snap --nosplash --nogui --modules --list --refresh
/gpfs/space/home/ave94/snap/bin/…/platform/lib/nbexec: WARNING: environment variable DISPLAY is not set
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread
[ave94@login2 ~] JAVA_OPTS="-Xmx8G" snap --nosplash --nogui --modules --list --refresh /gpfs/space/home/ave94/snap/bin/../platform/lib/nbexec: WARNING: environment variable DISPLAY is not set Error occurred during initialization of VM java.lang.OutOfMemoryError: unable to create new native thread [ave94@login2 ~] JAVA_OPTS=“-Xmx16G” snap --nosplash --nogui --modules --list --refresh
/gpfs/space/home/ave94/snap/bin/…/platform/lib/nbexec: WARNING: environment variable DISPLAY is not set
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread
[ave94@login2 ~]$ JAVA_OPTS=“-Xmx32G” snap --nosplash --nogui --modules --list --refresh
/gpfs/space/home/ave94/snap/bin/…/platform/lib/nbexec: WARNING: environment variable DISPLAY is not set

#There is insufficient memory for the Java Runtime Environment to continue.
#Native memory allocation (malloc) failed to allocate 41616 bytes for Chunk::new
#An error report file with more information is saved as:
#/gpfs/space/home/ave94/hs_err_pid79600.log
[thread 140430234543872 also had an error]
[thread 140430261495552 also had an error]
[thread 140430274758400 also had an error]
[thread 140430258239232 also had an error]

#Can’t open file to dump replay data. Error: Cannot allocate memory
[ave94@login2 ~] [ave94@login2 ~] ulimit
unlimited
[ave94@login2 ~] [ave94@login2 ~] free
total used free shared buff/cache available
Mem: 131768680 55008668 47693084 60372 29066928 75903880
Swap: 4194300 0 4194300
[ave94@login2 ~]$

How could I solve this problem?
Thank you in advance
Ave

I’m not a Linux guy and I’m not sure if these things are working you are doing.
What shall the INSTALL4J_ADD_VM_PARAMS variable do?
I haven’t found official documentation from ej-technologies.
And what happens if you run snap with the JAVA_OPTS?

If you want to change the memory settings, please follow this FAQ entry:
SNAP FAQs - SNAP - Confluence (atlassian.net)