Increasing java memory heap size for iManager Workstation

  • 3000638
  • 09-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

How to increase the java heap size that Mobile iManager (iManager Workstation) uses on Windows.

Java is running out of memory while performing tasks related to the iPrint plugin on Mobile iManager.

Resolution

Adding -Xmx128M to the java command line in iManager.bat resolved an out of memory issue iPrint was having. Increasing the memory size can also benefit other memory intensive iManager tasks.

To increase the amount of memory allocated to java, at the bottom of the iManager.bat file (located in the extracted BIN directory) add the following bolded text to 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