Why is memory management so visible in Java?

Posted by Emil on Stack Overflow See other posts from Stack Overflow or by Emil
Published on 2010-03-31T04:39:15Z Indexed on 2010/03/31 4:43 UTC
Read the original article Hit count: 183

I'm playing around with writing some simple Spring-based web apps and deploying them to Tomcat. Almost immediately, I run into the need to customize the Tomcat's JVM settings with -XX:MaxPermSize (and -Xmx and -Xms); without this, the server easily runs out of PermGen space.

Why is this such an issue for Java compared to other garbage collected languages? Comparing counts of "tune X memory usage" for X in Java, Ruby, Perl and Python, shows that Java has easily an order of magnitude more hits in Google than the other languages combined.

© Stack Overflow or respective owner

Related posts about java

Related posts about memory-management