wood burning stoves*
The moose likes Beginning Java and the fly likes OutOfMemory Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "OutOfMemory Error " Watch "OutOfMemory Error " New topic
Author

OutOfMemory Error

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
How can i solve the JVM OutOfMemory Error ?
Giju George
Ranch Hand

Joined: Jun 08, 2004
Posts: 333
Increase your jvm min and max heap size. On what environment are u running the java applications ??

SCJP1.4


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCEA
Wai Hung
Greenhorn

Joined: Apr 15, 2004
Posts: 23
And be sure you don't have memory leak.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
How many objects are you creating?


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
It may be more than 1000 objects
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Could you post the code that is causing the OutOfMemoryError?


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: OutOfMemory Error
 
Similar Threads
OutOfMemory error ..
outOfMemory
OutOfMemory
OutOfMemory
OutOfMemory