I've looked on the web for a while and can't seem to find the setting to increase the memory allocated to OC4J when launching from Eclipse. Does anyone know where the setting is?
Thanks.
I've looked on the web for a while and can't seem to find the setting to increase the memory allocated to OC4J when launching from Eclipse. Does anyone know where the setting is?
Thanks.
You can add memory setting in the OC4J_JVM_ARGS environment variable. For example you could have something like:
OC4J_JVM_ARGS=-Xmx512m
You could add others if you want:
OC4J_JVM_ARGS=-XX:PermSize=256m -XX:MaxPermSize=256m -Xms1024m -Xmx2048m
Now, I never have run OC4J from Eclipse (only standalone), but you could do the same by selecting your Server view, then Open launch configuration and in the Arguments tab add the values to the VM arguments section directly like:
-Xmx512m
or
-XX:PermSize=256m -XX:MaxPermSize=256m -Xms1024m -Xmx2048m