How do I resolve the out of memory or heap memory exception error I am getting when using Web Reporter?

Document ID : KB000053810
Last Modified Date : 14/02/2018
Show Technical Document Details

Description

Whenever you run any report containing large number of records, the Infoview displays only the first page of results. When you try accessing the next page, the report hangs for a long time. When you try to execute the query again, the Infoview takes very long time to execute the query and subsequently will not generate the report thus forcing you to log out and login to the infoview again.

The Infoview hangs due to Java exception error in the Java console and you get the following error:

  Exception in thread "AWT-EventQueue-2" java.lang.OutOfMemoryError:Java heap space 

Solution

To resolve the out of memory or heap memory exception error

  1. Set the Java applet run-time parameters to proper virtual memory settings in Java Control Panel.

    For example

    See the figure below for the settings on the Java control panel.

    Figure 1

    For information on proper virtual memory settings, refer to the link http://bugs.sun.com/view_bug.do?bug_id=6433218.