candrews
2014-04-08 18:01:17 UTC
I have found a very easy to reproduce memory leak in Grails - just create a
new app and run-app it, then touch a gsp and refresh the URL that serves
that GSP. Full instructions are at all
http://jira.grails.org/browse/GRAILS-11296
This issue is always reproducible when using "run-app" and can be reproduced
in war mode when grails.gsp.enable.reload = true.
It appears that org.codehaus.groovy.runtime.metaclass.MetaMethodIndex$Entry
instances are being created but never GC'ed. The application crashed with an
out of permgen error.. so I think there's both a heap leak and a permgen
leak.
Can someone please help me track this down? It seems like a pretty serious
bug in Grails (perhaps Groovy too?).
Thanks!
--
View this message in context: http://grails.1312388.n4.nabble.com/Easily-reproducible-memory-leak-in-Grails-tp4655816.html
Sent from the Grails - dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
new app and run-app it, then touch a gsp and refresh the URL that serves
that GSP. Full instructions are at all
http://jira.grails.org/browse/GRAILS-11296
This issue is always reproducible when using "run-app" and can be reproduced
in war mode when grails.gsp.enable.reload = true.
It appears that org.codehaus.groovy.runtime.metaclass.MetaMethodIndex$Entry
instances are being created but never GC'ed. The application crashed with an
out of permgen error.. so I think there's both a heap leak and a permgen
leak.
Can someone please help me track this down? It seems like a pretty serious
bug in Grails (perhaps Groovy too?).
Thanks!
--
View this message in context: http://grails.1312388.n4.nabble.com/Easily-reproducible-memory-leak-in-Grails-tp4655816.html
Sent from the Grails - dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email