Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.6
-
None
Description
org.codehaus.groovy.reflection.ClassInfo:
private static final GroovyClassValue<ClassInfo> globalClassValue = GroovyClassValueFactory.createGroovyClassValue(new ComputeValue<ClassInfo>(){ @Override public ClassInfo computeValue(Class<?> type) { ClassInfo ret = new ClassInfo(type); globalClassSet.add(ret); return ret; } });
dynamic load groovy classes will be cached in globalClassValue
can't unload classes
cause java.lang.OutOfMemoryError: PermGen space
Attachments
Issue Links
- is related to
-
GROOVY-7683 Memory leak when using Groovy as JSR-223 scripting language.
- Closed