After terrain correction my data came to 'java heap space'

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[・_・?]?

Hi @geoyayaispoor,

You have to increase the maximum memory settings, to do so, you can change it like this:

  1. Open the “Options” dialog by clicking on the menu “Tools/Options”
  2. Switch to the “Performance” tab
  3. Edit the “VM Parameters” clicking on the “…” button

You should see something like this:


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,

NOTE: put a reasonable maximum amount of memory depending on your computer configuration!


Thanks♪(・ω・)ノ,it works♪(^∇^*)!