OutOfMemory errors

If the Java process has insufficient memory allocated, you may get OutOfMemory errors when running the graph.

In an unsuccessful run, the Console Tab will show an OutOfMemory error similar to this example:
ERROR [DataIngestBatchConsumer-0] - Failed with the following exception: 
        java.lang.OutOfMemoryError: Java heap space
Exception in thread "DataIngestBatchConsumer-0" java.lang.OutOfMemoryError:
Java heap space

You can avoid these errors by increasing the memory allocated to the Java process running the service. The Edit JRE menu lets you increase the memory size on a global basis.

To avoid OutOfMemory errors:

  1. Select Preferences from the Window menu.
  2. From the Preferences menu, select Java > Installed JREs. The Installed JREs dialog is displayed.

  3. In the Installed JREs menu, click on the checked JRE and then click Edit. The Edit JRE menu is displayed.
  4. In the Default VM Arguments field, specify a Java option to set the heap size, such as -Xmx1024M. The Edit JRE menu should look like this example:

  5. Click Finish to apply your change and close the Edit JRE menu.
  6. Click OK to close the Preferences menu.