Dear All,
I am a new user of SNAP and I am having issues while importing S3 products.
I do the following to import the desired files:
file/import/optical Sensors/S-3/S-3.
In the best case scenario nothing happens, in the worst case scenario the program freezes. But then an icon appears on the bottom right corner that opens a list of error linked to java:
java.lang.OutOfMemoryError: GC overhead limit exceeded and java.lang.OutOfMemoryError: Java heap space
I am struggling to fix this and would appreciate some help to resolve this issue.
In your mail you also said that this happens when you work with synergy products. Those products are pretty memory consuming. Probably you only have 4GB of RAM in your computer. I fear this is not enough.
I though 8GB would be enough. I have 16GB and it works for me.
Maybe you can increase the amount of memory SNAP can use.
Open snap.conf (in etc folder of the installation dir). Ensure that you have write permission.
Increase the -J-Xmx value. Maybe to something like -J-Xmx6300M.
How do i get write permission to modify snap.conf. I have my own laptop.
My file says “default_options=”–branding snap --locale en_GB -J-XX:+AggressiveOpts -J-Xverify:none -J-Xms256M -J-Xmx11G -J-Dnetbeans.mainclass:"