Grails 1.1 and Groovy 1.6 Java JVM memory settings and tuning
How to change the JVM memory settings in Grails 1.1 and Groovy 1.6 on Linux and Windows systems.[Read More]
Frerk Meyer's Weblog
How to change the JVM memory settings in Grails 1.1 and Groovy 1.6 on Linux and Windows systems.[Read More]
Clean shutdown of tomcat normally requires a second java process, which fails under low memory constraints. A solution is shown using the netcat (nc) tool under Linux.
[Read More]
Sun Java 5 automatic heap size dimensioning does not know about the memory management of a Linux virtual server instance and therefore fails to get the size right. Even simple calls like "java -version" or the installation by your Linux distribution package manager does fail.
Solutions for these kind of problems are given.
To host your Grails / Java web application on a dedicated or virtual server (vServer) you'll need to know how much main memory your application needs and how much heap space is available to your application in a known environment. I'll give you formulas I derived from extensive experiments and rule of thumb for calculation with examples.[Read More]