Forum: JRuby tomcat memory usage rising - is this normal?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E2489efc6ec10ec818b71965909ea109?d=identicon&s=25 Jin Lee (Guest)
on 2008-11-12 19:47
(Received via mailing list)
Hey guys -

Do you know if it is normal for tomcat to grow in memory size and not
come
back down? Currently I have an application that has not been restarted
for
over 20 days, and it has gone from 200 mb to 750 mb. If I was optimistic
I'd
say the memory was freed up, just not 'released' by the JVM? Or do you
think
this is evidence of a slow memory leak? I just found out about this, so
I
will observe if it is contunally climbing or staying steady at 750.

Jin
Bfe866459e40cb7392194ab08fcb5dea?d=identicon&s=25 Mike Herrick (mherrick66)
on 2008-11-12 20:01
(Received via mailing list)
I have had this same observation.

I have not looked closely at the GC, but need to.

For our app, it steadily takes JVM heap and never gives it back. It does
not, however run out of memory so it hasn't been a problem.

Curious more than anything else.

Mike


Jin Lee wrote:
> Jin
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Ede2aa10c6462f1d825143879be59e38?d=identicon&s=25 Charles Oliver Nutter (Guest)
on 2008-11-12 22:48
(Received via mailing list)
Mike Herrick wrote:
> I have had this same observation.
>
> I have not looked closely at the GC, but need to.
>
> For our app, it steadily takes JVM heap and never gives it back. It does
> not, however run out of memory so it hasn't been a problem.
>
> Curious more than anything else.

Hmm, are either of you able to trace this to any specific JRuby or
library release? I would expect to see N runtimes grow, of course, and
not give memory back once they're done growing, but hopefully we haven't
introduced a leak. Mike's case sounds like it does eventually finish
growing; Jin's and AD's sound like it does not.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
This topic is locked and can not be replied to.