• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any recommendations Guys ?
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic