IBM Support

SQLJ Direct Call to Translator class causes OutOfMemoryError

Troubleshooting


Problem

Sometimes importing a Project Interchange file from a previous version of IBM Rational Application Developer causes an OutOfMemoryError during project build. This happens especially when the translator for SQLJ files is called in-process.

Symptom

When building a project containing a large number of SQLJ files, the application gives an Out Of Memory Error and exits the workbench.

This only happens when the SQLJ translation option is set to 'Direct Call to Translator class' (Windows > Preferences > Data Management > SQL Development > SQLJ Applications)

Rational Application Developer uses the garbage collection policy 'gencon'.

Not enough global Garbage Collectors are kicked off with the gencon GC policy causing a large number of classloaders to accumulate.  This build up of classloaders causes a native memory increase which could possibly lead to an out of memory.

Review the Related document about APAR IZ76742 for more details.

Symptoms include an OutOfMemoryErrorstack trace like this one:


java.lang.OutOfMemoryError
    at java.util.zip.Inflater.init(Native Method)
    at java.util.zip.Inflater.<init>(Unknown Source)
    at java.util.zip.ZipFile.getInflater(Unknown Source)
    at java.util.zip.ZipFile.getInputStream(Unknown Source)
    at java.util.zip.ZipFile.getInputStream(Unknown Source)

will appear in the file<workspace>\.metadata\.log

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Database Tooling","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.3;7.5.4;7.5.5;7.5.5.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":"Database Tooling","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.3;7.5.4;7.5.5;7.5.5.1","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
29 September 2018

UID

swg21426672