Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

"Unloading class" and "CodeCache is full" messages in logs



Several occurrences of "Unloading class" messages on server.  

Error Messages

[Unloading class sun.reflect.GeneratedConstructorAccessor3153]
[Unloading class sun.reflect.GeneratedConstructorAccessor2967]
[Unloading class sun.reflect.GeneratedMethodAccessor614]
[Unloading class sun.reflect.GeneratedConstructorAccessor3155]


Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=

Steps to Reproduce

Start server.

Root Cause

A defect or configuration issue in the operating environment, specifically JVM argument tuning.


Make the following change to the operating environment: 

Add the following JVM arguments (for a total heap of 8G):

-XX:ReservedCodeCacheSize=512m (increase as needed)



Published April 11, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us