Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception in thread "domain1-StderrDrainer" java.lang.OutOfMemoryError: Java heap space

 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

From time to time i get this error , and it makes the server hangs and need to restart the domain



My environment :
Win 2000 server , Glassfish v3.0.1

Any recommendations ?

 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any recommendations Guys ?
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is your heap size now? If you have more data to hold in memory than you have space then you need to increase the heap size.
If you are sure you do not hold that much of data in memory then look for memory leaks.

Is it specific to some product? If no, then I will move it to a more appropriate forum.
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nitesh Kant wrote:What is your heap size now? If you have more data to hold in memory than you have space then you need to increase the heap size.
If you are sure you do not hold that much of data in memory then look for memory leaks.

Is it specific to some product? If no, then I will move it to a more appropriate forum.

Hi ,
My heap size is : -Xmx1024m

i think it's enough , what do you think ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic