Recent Posts

RSS Feeds

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]

  Share

Permalink    

Low Cost Grails / Java Web Hosting - Clean Shutdown of Tomcat without another JVM

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]

  Share

Permalink     Kommentare[1]

Low Cost Grails / Java Web Hosting HowTo - vServer memory and java heap size trouble

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.

[Read More]

  Share

Permalink     Kommentare[4]

Low Cost Grails / Java Web Hosting - How much server memory do you need?

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]

  Share

Permalink