Performance parameters

Performance parameters



This preferences page provides options to customize processing parameters. You can manually set processing parameters in SNAP Values or use the benchmark to compute faster processing parameters.

Performance FAQs

I'm getting the Error "Cannot construct DataBuffer". What can I do?

This error indicates that you don't have enough memory. Either your system does not have enough memory (RAM) or the configuration for SNAP is not sufficient.
For the SNAP Desktop application, you can increase the amount of memory available to SNAP as explained above or:
In the 'etc' folder of the SNAP installation directory you'll find a file named snap.conf. Open it in a text editor.
There is the line which starts with 'default_options='
In this line you'll find an option like -J-Xmx5G. Increase the value. You could use something like -J-Xmx13G, if you have enough memory in your computer. By default, it is set to ~75% of the maximum value. This is usually a good choice.
If you experience the error on the command line with gpt or pconvert you need to change different files.
You need to change the corresponding vmoptions files, either gpt.vmoptions or pconvert.vmoptions.
Change the Value after -Xmx in the last line.

I'm getting the Error "Java heap space". What can I do?

The most common reason for this error is that SNAP just requires more Java heap space than available for the selected operator.
You can increase the amount of memory available to SNAP as explained above.
It is also possible that there are some not detected bugs that cause that some processes are not freeing up memory properly. In that case, perhaps restarting SNAP (if you have been executing other processes before) and trying again could work. But please, do not hesitate to report the error in the SNAP forum in order to help developers identify the bugs and fix them.