• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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

 
Ranch Hand
Posts: 493
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 ?

 
S Shehab
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any recommendations Guys ?
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • 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.
 
S Shehab
Ranch Hand
Posts: 493
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
Boost this thread!