Java.lang.OutOfMemoryError: Java heap space for Linux

  • KM00822788
  • 31-Mar-2014
  • 31-Mar-2014

Summary

This error can be found if administrators install more than one iSPI , for example iSPI for traffic , iSPI for QA or iSPI for IP Multicast and try to log in to NPS (Network Performance Server).

Error

 This error can be found if the administrator log in to the NPS or run a report Java.lang.OutOfMemoryError: Java heap space

Cause

Installing more than one iSPI extension  might require more memory for bootstrap in order to run the report .

Fix

Edit the file /opt/OV/nonOV/cognos/bi/bin64/bootstrap_<os>.xml (eg bootstrap_linuxi38664.xml)

Increase the value of XX:MaxPermSize, eg:

<param condName="${java_vendor}" condValue="Sun">-XX:MaxPermSize=512m</param>

Important note:do not accidentally remove the 'm' after the size eg 512m