Forum: JRuby Leak suspects in Eclipse for JRubyRails app in Tomcat

A85d5070956e220cc592d3c4de710904?d=identicon&s=25 Lieven C. (lieven_c)
on 2013-06-26 15:49
I'm running a JRubyOnRails Application inside Tomcat. When creating a
Heap dump and letting it analyze by Eclipse Memory Analyzer, I'm getting
following report. Is this normal or is there really a memory leak in my
application?

Problem Suspect 1

6.458 instances of "org.jruby.RubyClass", loaded by
"org.apache.catalina.loader.WebappClassLoader @ 0x700ec6988" occupy
56.969.616 (31,78%) bytes.

Keywords org.apache.catalina.loader.WebappClassLoader @ 0x700ec6988
org.jruby.RubyClass

Problem Suspect 2

10.597 instances of "org.jruby.internal.runtime.methods.DefaultMethod",
loaded by "org.apache.catalina.loader.WebappClassLoader @ 0x700ec6988"
occupy 22.182.112 (12,37%) bytes.

Keywords org.jruby.internal.runtime.methods.DefaultMethod
org.apache.catalina.loader.WebappClassLoader @ 0x700ec6988

Problem Suspect 3

3.144 instances of "org.jruby.RubyModule", loaded by
"org.apache.catalina.loader.WebappClassLoader @ 0x700ec6988" occupy
21.226.816 (11,84%) bytes.

Keywords org.apache.catalina.loader.WebappClassLoader @ 0x700ec6988
org.jruby.RubyModule

Problem Suspect 4

8.888 instances of "org.jruby.MetaClass", loaded by
"org.apache.catalina.loader.WebappClassLoader @ 0x700ec6988" occupy
18.563.784 (10,35%) bytes.

Keywords org.jruby.MetaClass
org.apache.catalina.loader.WebappClassLoader @ 0x700ec6988
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.