Code Cache (Non-Heap Memory) Current Usage at 100% Resulting in "CodeCache is full" Error

(Doc ID 1386210.1)

Last updated on OCTOBER 02, 2017

Applies to:

Oracle Commerce Platform - Version 2007.1 and later
Java Platform, Standard Edition - Version 1.3.1 to 7 [Release 1.3 to 7]
Information in this document applies to any platform.

Goal

The following warnings show that the JVM is having problems because the code cache is filling up.

Java HotSpot(TM) Client VM warning: CodeCache is full. Compiler has been disabled. Java HotSpot(TM) Client VM warning: Try increasing the code cache size using -XXReservedCodeCacheSize=.

 

Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal SIGINT to handler- the VM may need to be forcibly terminated.


 

Solution

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