File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 1382
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: 9053
    
  12
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: 1382
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: OutOfMemory Error