Building Memory-efficient Java Applications
domino.research.ibm.com
domino.research.ibm.com
After a few hours playing with it, you will never forget the precious lessons on this presentation.
Does anyone know how Erlang compares to Java in regards to memory usage/performance?
I can't find a reference for erlang's representation but I believe it has only a little more overhead than ocaml which is described here - http://rwmj.wordpress.com/2009/08/04/ocaml-internals/
http://erlang.org/doc/efficiency_guide/advanced.html#9
(I haven't tried this:
erts_debug:flat_size(dict:new()).
http://stackoverflow.com/questions/1964015/erlang-what-is-mo...http://blogs.oracle.com/jrose/entry/fixnums_in_the_vm
Has anyone seen anything more recent?
experiments on a sampling of different JVMs.
More recent :
http://vanillajava.blogspot.com/2011/07/java-getting-size-of...
http://vanillajava.blogspot.com/2011/07/java-how-much-memory...
http://kohlerm.blogspot.com/2008/10/knowledge-about-much-mem...
http://kohlerm.blogspot.com/2009/02/how-to-really-measure-me...
http://marxsoftware.blogspot.com/2011/12/estimating-java-obj...
(i have zillions bookmarks on this)
Man, that's just annoying.