You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "t.n.a." <tn...@sharanet.org> on 2005/03/18 19:43:41 UTC

memory usage

Hi everyone,

I'm not quite sure where to post this problem - the tomcat, tapestry or 
cayenne mailing list - but here goes...
I have an app built on the mentioned technologies. I click arround and 
monitor the memory usage (using the Win task manager - good enough for 
rough measurements). The memory usage seems to grow up to a 100 MB 
(Cayenne accesses a single table of about fifty attributes and a 1000 
rows - don't ask) and sometimes - I can't reproduce the problem now - 
the app brakes when trying to open a new page. The exception says 
something about not having enough memory.
Ring any bells, anyone?

Thanks for your effort,
Tomislav

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: memory usage

Posted by QM <qm...@brandxdev.net>.
On Fri, Mar 18, 2005 at 07:43:41PM +0100, t.n.a. wrote:
: rough measurements). The memory usage seems to grow up to a 100 MB 
: (Cayenne accesses a single table of about fifty attributes and a 1000 
: rows - don't ask) and sometimes - I can't reproduce the problem now - 
: the app brakes when trying to open a new page. The exception says 
: something about not having enough memory.
: Ring any bells, anyone?



Yes -- if a Java app is out of memory,

1/ invest in a profiler to see whether there's a resource leak
2/ increase the heap such that the JVM has more space in which to create
objects

btw, please post a *new* message when writing to the list.  Replying to
an old (unrelated) message confuses thread-aware mailers, which makes
your question harder to find (and thus answer).

-QM

-- 

software   -- http://www.brandxdev.net
tech news  -- http://www.RoarNetworX.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org