Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.3.6
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Following on from GRAILS-6573, there was no "cacheable" method override added for the createTemplate(String text, String pagename) variant.
As a result any literal templates can never be cached and result in new compile and permgen usage (but not leakage necessarily).
Issue Links
- relates to
-
GRAILS-6571
GroovyPagesTemplateEngine memory leak/ Perm Gen space issue
-
-
GRAILS-5560
GroovyPagesTemplateEngine does not cache compiled templates for several variants of createTemplate
-
quoting http://jira.codehaus.org/browse/GRAILS-6571?focusedCommentId=230739&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_230739
GroovyClassLoader.clearCache() is never called (https://github.com/grails/grails-core/blob/1.3.x/src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java) so there probably is a permgen leak.