because you Kare to learn!
Didn’t we all run into crash when there is no free memory in the heap on the JVM, well I faced it when i started to work on webcenter suit with oracle portlets and wsrp2, that the pre-configured OC4J didn’t start the JVM instances due to some memory issues, and this how i fixed it by replacing the JDK of my JDeveloper with the JRockit.
JRockit has been tested and proven qualified to hold a large virtual machines that may reach Terra Bytes tested on 3~5 Terra bytes.

How to work on JRockit with stand alone oc4j or OAS-Oracle Application Server-.
[In case that the JDK is not presented with the OC4J or OAS]
- Go to Windows Environment Variables and in System variables, if JAVA_HOME exists edit its value with this “C:\Program Files\Java\ jrmc-3.0.3-1.5.0″, else create a new one with the specified value.
- And you are done, just run the OC4J and it’s now working on JRockit.
[In case that the JDK is presented with the OC4J or OAS]
- If OC4J has a JDK folder underneath it, then Go to “C:\Program Files\Java\ jrmc-3.0.3-1.5.0″ and copy all its content
- Go to OC4J_HOME\JDK and delete its content –Make sure all oc4j instances are closed and you packed up everything in case it didn’t work well- and paste what you copied above in the JDK folder –The same goes for Oracle Application Server-.
Run the OC4J instance or Application Server and it’ll now run on JRockit and you wont face any more troubles in memory running portlets or whats so ever.