Hello,after terrain corrected my data, my new image(been subset–>calibrate–>terrain correction) came to ‘java heap space’ , could somebody telll me how to fix it (╥╯^╰╥)?
And I got 8.93RAM now, why it still happened[・_・?]?
Hello,after terrain corrected my data, my new image(been subset–>calibrate–>terrain correction) came to ‘java heap space’ , could somebody telll me how to fix it (╥╯^╰╥)?
Hi @geoyayaispoor,
You have to increase the maximum memory settings, to do so, you can change it like this:
You should see something like this:
-Xmx5120m
-Xms256m
-XX:+AggressiveOpts
-Xverify:none
-Dnetbeans.mainclass=org.esa.snap.main.Main
-Dsun.java2d.noddraw=true
-Dsun.awt.nopixfmt=true
-Dsun.java2d.dpiaware=false
The -Xmx5120m
is the maximum memory (5GB in this case) change it to a bigger value (e.g. -Xmx8192m
), save the changes and re-open SNAP.
It should work now.
Best regards,
Martino
NOTE: put a reasonable maximum amount of memory depending on your computer configuration!