JRockit Out Of Memory on Code Generation when -XX:+UseLargePagesForCode option used

(Doc ID 1360619.1)

Last updated on MAY 24, 2017

Applies to:

Oracle JRockit - Version R28.1.1 and later
Information in this document applies to any platform.


Several out of memory errors are shown as below:

java.lang.OutOfMemoryError: CG #167161 (0) weblogic/ejb/container/deployer/EJBModule.unregisterBeanUpdateListeners()V in generate_code (compilerfrontend.c:537).
Java heap 5G reserved, 5G committed
Paged memory=18014398502763528K/72108980K.
Your Java heap size might be set too high.



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms