From: Roedy Green on
On Mon, 8 Feb 2010 15:08:41 -0800 (PST), Krist <krislioe(a)gmail.com>
wrote, quoted or indirectly quoted someone who said :

>
>(heap usage seems to be up and down, but memory usage is never going
>down, even when all user already loggout.)
>
>What are the difference between the two ?

Your variables you allocate with new go on the heap. Other memory use
includes the class files, the machine language equivalents of the
class files, the native code for the interpreter/hot spot.
--
Roedy Green Canadian Mind Products
http://mindprod.com

Every compilable program in a sense works. The problem is with your unrealistic expections on what it will do.