The numbers returned by these calls are approximate and don't necessarily reflect exact memory usage statistics (you'd probably need to use the JVM hooks for exact details). Use a higher number and you'll start seeing a difference at some point. *Which* point is likely JVM- and runtime-option dependent. For example, on my Ubuntu machine, I get a non-zero value if I change the count to 235, and that value stays constant again up until 788, at which point it more than doubles.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Why is the memory usage ZERO bytes of this program