Out of memory errors

Problem

You might encounter an out of memory error warning when performing operations, for example,

Figure 1. Out of memory error in Security Discovery editor
Out of memory error dialog in the Security Discovery editor

Symptom

This problem can occur when using plug-ins that consume too much memory. It's more likely to happen when using the Security Discovery editor because it requires much more memory than other CICS Explorer® plug-ins.

Cause

By default, CICS Explorer has a maximum Java heap size of 512 MB. This should be sufficient in most cases, but if some plug-ins require more memory than that, an out of memory error occurs.

Resolving the problem

Increase the maximum Java heap size as needed. See instructions in Increasing the Java heap size for the Security Discovery editor.

For the Security Discovery editor, consider increasing the maximum Java heap size to 2 GB. If that doesn't solve the problem, increase it to 3 GB.