Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

Oracle java.lang.OutOfMemoryError Tips

Oracle Database Tips by Donald BurlesonFebruary 12, 2015

Question:  When installing Oracle it stops at 91% and I get the java.lang.OutOfMemory error.  I see this message in my installation log file:

java.lang.OutOfMemoryError <<no stack trace available>>

Please advise on how to increase the RAM for Java to remove the error.

Answer:  In Oracle, the java.lang.OutOfMemoryError occurs when the Java Runtime Environment (JRE) does not have enough RAM allocated.  To increase the RAM for the Oracle JRE, change the file install/oraparam.ini and increase the Java Memory:

JRE_MEMORY_OPTIONS=-mx60m
to
JRE_MEMORY_OPTIONS=-mx128m

You can also increase Java RAM memory at the command line:

java -Xms<size>

java -Xms=32m -Xmx=256m

If you get the java.lang.OutOfMemoryError or the related javax.ejb.EJBException: java.lang.OutOfMemoryError: Java heap space in JDeveloper, you can increase the RAM like this:

1. Right Click on "Project node" in the JDeveloper application navigator (the .jpr file) .
2. Select "Project properties" from the project node menu.
3. Select "Run/Debug".
4.  If you have the "Default" run configuration, select it and click the "Edit" button
5. In the java options text box,  add -Xms512M -XMs-512M.
6. Click the "OK" button

For testing the added RAM, go back to the aborted JDeveloper screen , and re-run the code.

If the java.lang.OutOfMemoryError persists, step-up the value in -Xms/-Xmx until you have enough RAM to complete the operation.


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.