3 Replies Latest reply: May 6, 2013 5:07 AM by Juw RSS

    Jdev 11.1.1.5 Error – Out of Space for Code Cache for Adapters

    Sudipto Desmukh
      JDK Version - jdk160_24 ()
      Linux is 64 bit
      Memory properties used for starting the Admin Server (setDomainEnv.sh) -
      Xms512m -Xmx1024m

      Memory for SOA Server (setSOADomainEnv.sh)-
      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(AbstractCallSite.java:204)
           at bc4j.com_xyz_iot_model_entity_IotRequestEO_Id_null.gs.run(bc4j.com_xyz_iot_model_entity_IotRequestEO_Id_null.gs.groovy:1)
           at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1208)
           at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1261)
           at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:1083)
           at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2141)
           at oracle.jbo.server.EntityImpl.initDefaultExpressionAttributes(EntityImpl.java:1036)
           at oracle.jbo.server.EntityImpl.create(EntityImpl.java:989)
           at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:1163)
           at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1151)
           at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:472)
           at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:489)
           at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:5568)
           at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1937)
           at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2458)
           at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2499)
           at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2480)
           at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:10857)
           at com.xyz.iot.model.am.IOTDiscountAMImpl.createAndAssociate(IOTDiscountAMImpl.java:477)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      I have already tried -
      1)Set - JVM Options : XX:ReservedCodeCacheSize=64m in setDomainEnv.sh 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.