Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-29 Thread Johan Compagner
yeah but South Africa has 3G no idea what thats gonna cost me.
But also internet cafes so i should use those more often..

johan

On Dec 29, 2007 12:09 AM, Sebastiaan van Erk [EMAIL PROTECTED] wrote:

 He, I thought you were having vacation :-PPP

 Seb*

 Johan Compagner wrote:
  Nowadays its also many times the perm heap thats to small. Dont know
  if that is the cause for you because i think it will say that in the
  exception (the propery for that is a special XX system property dont
  have that at hand)
 
  On 12/28/07, Artur W. [EMAIL PROTECTED] wrote:
 
  Mr Mean wrote:
  Did you try starting your app container with extra memory, by default
  java does not allocate that much, a common webapp is likely to run out
  of memory with the default settings.
 
  I start tomcat with:
  -Xms512M -Xmx768M
 
  Should I consider something else?
 
 
  Runtime.getRuntime().freeMemory() returns 165MB.
 
 
  Thanks in advance.
  Artur
 
  --
  View this message in context:
 
 http://www.nabble.com/OutOfMemoryError%3A-Java-heap-space---AppendingStringBuffer-tp14525029p14527774.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 



Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-29 Thread Maurice Marrink
the permgen space param = -XX:MaxPermSize=256m
Just in case.

Maurice

On Dec 29, 2007 3:09 PM, Artur W. [EMAIL PROTECTED] wrote:


 Eelco Hillenius wrote:
 
 
  Yes, use a profiler. Everyone who is working on a production system
  should regularly use a profiler and load testing tool to ensure there
  are no memory leaks etc. In my experience and if you search threads in
  this list, leaks are often caused by simple mistakes, such as keeping
  pages references from your session/ application.
 

 I will do that! Thanks for help to everyone!


 Artur

 --
 View this message in context: 
 http://www.nabble.com/OutOfMemoryError%3A-Java-heap-space---AppendingStringBuffer-tp14525029p14537843.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]