Hardware manual

Impact Reference Guide Set the amount of memory to be allocated
6-27 Datalogic Automation Inc.
-title "The String"
Set the amount of memory to be allocated
IMPORTANT NOTE: This option is placed within the command line, not at the end. This option already
exists in the program command line. Change the existing value only, do not add a new value to the end of the
command line.
This option sets the amount of memory space to be allocated for the program to run. If the program exceeds
its default allocated memory space, it will be terminated.
This option must be set on all applicable program shortcuts used on your computer.
The number following the -Xmx parameter in the command line sets the amount of memory to allocate. This
number should not exceed the maximum recommended value which is calculated as 40% of the memory
size of your computer, in megabytes (MB).
For example, if your computer has 1 Gigabyte (1 GB) of memory, the maximum recommended value is
1,000,000,000 x .40 = 400,000,000 (400 MB).
Change the following option in the command line, where nnn is the amount of memory to allocate (note the
letter "m" at the end):
-Xmxnnnm
Here are example command lines that set the amount of memory allocated for each program to 400 MB (the
option is in bold):
CPM
"C:\Datalogic\IMPACT\Applications\jre\bin\javaw.exe" -XX:+UseParallelGC
-Xmx400m -Xms64m -Xrs -jar "C:\Datalogic\IMPACT\Applications\CPM\CPM.jar"
CPMRE
"C:\Datalogic\IMPACT\Applications\jre\bin\javaw.exe" -XX:+UseParallelGC
-Xmx400m -Xms64m -Xrs -jar "C:\Datalogic\IMPACT\Applications\CPM\CPMRE.jar"
VPM
"C:\Datalogic\IMPACT\Applications\jre\bin\javaw.exe" -XX:+UseParallelGC
-Xmx400m -Xms64m -Xrs -jar "C:\Datalogic\IMPACT\Applications\VPM\VPM.jar"
Settings
"C:\Datalogic\IMPACT\Applications\jre\bin\javaw.exe" -XX:+UseParallelGC
-Xmx400m -Xms64m -Xrs -jar "C:\Datalogic\IMPACT\Applications\VPM\Settings.jar"