Performance parameters | ![]() |
The compute button is calculating optimum memory and cache path parameters for your system
The reset button reload the initial parameters. After apply or valid your inputs, you can't reset to previous version.
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.
To help you to define faster processing parameters, you can
launch benchmarks.
Follow these steps:
You need to define a list of potential processing parameters for
each values (tile size and nb threads).
Each list must have at least one value, otherwise each values must
be separated by a semi-colon (;).
Press the button Compute to launch the processing dialog, sets I/O and processing parameters and click Run.
The benchmark will compute the processing with all given
parameters.
It will display all results in a dialog window and save the faster
parameters in SNAP Values.
The reset button reload the initial parameters. After apply or valid your inputs, you can't reset to previous version.
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.
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.