Grails and PermGen issue with g:link and g:render
Posted
by Alexi Groove
on Stack Overflow
See other posts from Stack Overflow
or by Alexi Groove
Published on 2010-04-22T17:28:26Z
Indexed on
2010/04/22
17:33 UTC
Read the original article
Hit count: 406
I've been running grails for sometime without any issues but recently after an upgrade to Grails 1.1.1, I've encountered the dreaded PermGen errors. Prior to the upgrade, no such issue.
The error seems to be happening when the <g:link>
and <g:render>
tags are used in a GSP although I'm not sure it's indicative that this is the issue but more of the fact that it ran out of space when these tags were being rendered.
Typically, everyone who encounters PermGen errors recommend increasing your java environment options -- but what maybe the source of the issue? Is it a Grails 1.1/hibernate/spring problem?
The error:
2010-04-20 05:37:03,962 INFO [STDOUT] 05:37:03,961 ERROR [GroovyPagesServlet] Error processing GSP:
Error executing tag <g:render>: org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException:
Error executing tag <g:link>: java.lang.OutOfMemoryError: PermGen space
org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException:
Error executing tag <g:render>:
org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException:
Error executing tag <g:link>: java.lang.OutOfMemoryError: PermGen space
© Stack Overflow or respective owner