You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2016/03/08 20:56:40 UTC
[jira] [Closed] (GROOVY-6136) Possibly memory leak in Eval with
PathExpression
[ https://issues.apache.org/jira/browse/GROOVY-6136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pascal Schumacher closed GROOVY-6136.
-------------------------------------
Resolution: Duplicate
> Possibly memory leak in Eval with PathExpression
> ------------------------------------------------
>
> Key: GROOVY-6136
> URL: https://issues.apache.org/jira/browse/GROOVY-6136
> Project: Groovy
> Issue Type: Bug
> Components: groovy-jdk
> Affects Versions: 2.0.7, 2.1.3
> Environment: JDK 1.6, JDK 1.7 with JVM Option: -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+TraceClassUnloading -XX:+TraceClassLoading
> Reporter: Donghun Lee
> Attachments: EvalTest.zip
>
>
> Possibly PermGen memory leak in eval.
> It loads Script class every execution of eval but never unloads and triggers "java.lang.OutOfMemoryError: PermGen space" error.
> I performed GC manually by JVisualVM among the time but no effect on PermGen space (works well on Heap).
> Here are the ClassLoading/Unloading trace log:
> ...
> [Loaded sun.reflect.GeneratedMethodAccessor24 from __JVM_DefineClass__]
> [Loaded sun.reflect.GeneratedMethodAccessor25 from __JVM_DefineClass__]
> [Loaded Script1 from file:/groovy/shell]
> [Loaded Script1 from file:/groovy/shell]
> [Loaded Script1 from file:/groovy/shell]
> [Loaded Script1 from file:/groovy/shell]
> [Loaded sun.reflect.GeneratedMethodAccessor26 from __JVM_DefineClass__]
> [Loaded Script1 from file:/groovy/shell]
> [Loaded Script1 from file:/groovy/shell]
> [Loaded Script1 from file:/groovy/shell]
> [Loaded Script1 from file:/groovy/shell]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)