candrews
2013-08-14 22:00:43 UTC
I'm having trouble finding up to date and relevant information about GSP
reloading (grails.gsp.enable.reload).
"One thing to bear in mind with this technique is that every time you modify
a GSP, it uses up permgen space. So at some point you will eventually hit
"out of permgen space" errors unless you restart the server. So this
technique is not recommended for frequent or large changes to the views." -
from http://www.grails.org/doc/latest/guide/single.html
Is that still true? If so, is there a bug in Jira for this (if there is, I
can't find it)?
Also, are there any known performance implications of having
grails.gsp.enable.reload=true? Again, I can't find anything that says there
is... but I'm hoping a developer can chime in. I'm assuming the only cost
would be Grails checking to see if the GSP file was modified, and if so,
recompiling it.. but if it wasn't modified, there wouldn't be a recompile
and therefore no cost.
Thanks!
--
View this message in context: http://grails.1312388.n4.nabble.com/grails-gsp-enable-reload-implications-tp4648017.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
reloading (grails.gsp.enable.reload).
"One thing to bear in mind with this technique is that every time you modify
a GSP, it uses up permgen space. So at some point you will eventually hit
"out of permgen space" errors unless you restart the server. So this
technique is not recommended for frequent or large changes to the views." -
from http://www.grails.org/doc/latest/guide/single.html
Is that still true? If so, is there a bug in Jira for this (if there is, I
can't find it)?
Also, are there any known performance implications of having
grails.gsp.enable.reload=true? Again, I can't find anything that says there
is... but I'm hoping a developer can chime in. I'm assuming the only cost
would be Grails checking to see if the GSP file was modified, and if so,
recompiling it.. but if it wasn't modified, there wouldn't be a recompile
and therefore no cost.
Thanks!
--
View this message in context: http://grails.1312388.n4.nabble.com/grails-gsp-enable-reload-implications-tp4648017.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