Increasing java memory heap size for iManager Workstation

  • 3973652
  • 08-Feb-2007
  • 26-Apr-2012

Environment


Novell iManager 2.6
Novell iPrint for NetWare
Novell NetWare 6.5 Support Pack 6
iManger iPrint Plugin

Situation

iManager Workstation (a.k.a Mobile iManager) sometimes runs out of memory when performing iPrint tasks.

How do you increase the java memory heap size on iManager Workstation?

Resolution

Adding -Xmx128M to the java command line in iManager.bat resolved an out of memory issue iPrint was having. In order to increase the memory heap size, simply add the following (in bold) to the iManager.bat file in the :START_IMANAGER section:

start %JAVA_EXE% -Xmx128m -Djava.library.path=%NATIVE_LIB_PATH%;%SWT_LIB_PATH%
%DEBUG_PARAMS% %MAIN_CLASS% %1 %2 %3 %4 %5 %6 %7 %8 %9

Adding this setting may affect workstation memory availability. After implementing this setting, you may want to monitor the available memory that Windows is using if the workstation has a low amount of memory installed.