• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OutOfMemory Error

 
kri shan
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i solve the JVM OutOfMemory Error ?
 
Giju George
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Increase your jvm min and max heap size. On what environment are u running the java applications ??

SCJP1.4
 
Wai Hung
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And be sure you don't have memory leak.
 
Marilyn de Queiroz
Sheriff
Posts: 9065
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How many objects are you creating?
 
kri shan
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It may be more than 1000 objects
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you post the code that is causing the OutOfMemoryError?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic