This discussion is archived
3 Replies Latest reply: May 6, 2013 3:07 AM by Juw RSS

Jdev Error – Out of Space for Code Cache for Adapters

Sudipto Desmukh Expert
Currently Being Moderated
JDK Version - jdk160_24 ()
Linux is 64 bit
Memory properties used for starting the Admin Server ( -
Xms512m -Xmx1024m

Memory for SOA Server (
DEFAULT_MEM_ARGS="${DEFAULT_MEM_ARGS} -XX:PermSize=128m -XX:MaxPermSize=512m"
PORT_MEM_ARGS="${PORT_MEM_ARGS} -XX:PermSize=256m -XX:MaxPermSize=512m"

Here is the log -
java.lang.VirtualMachineError: out of space in CodeCache for adapters
     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(
     at oracle.jbo.ExprEval.internalEvaluateGroovyScript(
     at oracle.jbo.ExprEval.doEvaluate(
     at oracle.jbo.ExprEval.evaluateForRow(
     at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(
     at oracle.jbo.server.EntityImpl.initDefaultExpressionAttributes(
     at oracle.jbo.server.EntityImpl.create(
     at oracle.jbo.server.EntityImpl.callCreate(
     at oracle.jbo.server.ViewRowStorage.create(
     at oracle.jbo.server.ViewRowImpl.create(
     at oracle.jbo.server.ViewRowImpl.callCreate(
     at oracle.jbo.server.ViewObjectImpl.createInstance(
     at oracle.jbo.server.QueryCollection.createRowWithEntities(
     at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(
     at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(
     at oracle.jbo.server.ViewRowSetImpl.createRow(
     at oracle.jbo.server.ViewObjectImpl.createRow(
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
I have already tried -
1)Set - JVM Options : XX:ReservedCodeCacheSize=64m in or in the start file for starting WLS
2)Reducing Logging severity levels to warning from trace so as to reduce the Log file size.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points