Blog Archives

Grails: java.lang.OutOfMemoryError: PermGen space

Use case Developing with IntelliJ and Grails sometimesĀ leads to memory problems, particularly considering the PermGen space – even with plenty of RAM. This issue occures especially after re-deploying several times while debugging. Incident This is moreĀ a flaw with Tomcat itself,

Tagged with: , , , , ,
Posted in Grails, Groovy, IntelliJ, Java, Webserver

Grails: “General error during class generation: java.lang.reflect. MalformedParameterizedTypeException”

Use case Grails: “General error during class generation: java.lang.reflect. MalformedParameterizedTypeException” Cripes.. how many hours this took me to find the issues behind this error message. So now that I figured it out I’d better share this to others for less

Tagged with: , ,
Posted in Grails, Groovy, Java, Linux

Grails: How to access action/controller/param inside a service

Use case Even though a service should be stateless and application-/context-independent, I needed to access the current controller and action from inside a service class. Namely I have a URL-Service, which provides various kinds of dynamic URL methods. One of

Tagged with: , , , ,
Posted in Grails, Groovy, Java
Archive
Categories