Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Out of Memory Error  RSS feed

 
Ajay Joseph
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i run a java program dynamically which can last for hours ans Out of Memory ERROR shows... Can anyone help me out to slove this problem..


Ajay
 
Satish Chilukuri
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you give more specific details? One possibility could be that you are creating new objects but are not making them eligible for garbage collection once you are done with using them.
 
Bjorn Svensson
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Details?

In general: use a decent profiler, try to zoom down on the problem.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!