-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: what is the maximum size of java heap space?
PostPosted: Sat Nov 15, 2008 1:24 am 
Newbie

Joined: Sat Oct 11, 2008 3:31 am
Posts: 11
can any one tell me what is the maximum size of memory can be set to

Tomcat server6.0(Application server) to avoid java heap space?

i set intial memeory pool size to 32 MB and maximum memory pool size to

1024MB.But still it throws the java heap space exception.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 16, 2008 1:29 pm 
Expert
Expert

Joined: Fri Jul 13, 2007 8:18 am
Posts: 370
Location: london
If you have a memory leak then increasing the memory size won't solve your problem, just delay the point at which the application fails. If you're using hibernate you might need to increase perm-gen space rather than heap size:
-XX:MaxPermSize=256m


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.