Memory Accounting, JDKs [was: Re: [Techtalk] Java on Linux]

Jenn Vesperman jenn at anthill.echidna.id.au
Fri Jan 11 12:28:23 EST 2002


On Fri, 2002-01-11 at 09:02, Nicole Zimmerman wrote:

> When I run the client and the server both on the same machine (for
> internal testing), along with the GUI, I am up to 241M memory used, 118
> Java 'processes' (according to ps). This seems like a lot, but we want to
> track down whether it is the client code or the server code that is doing
> the busywork with memory.

Have you tried running 'top', particularly 'top -i'? That's my general
'what's slowing things down?' tool.

> What I want is a way to find out how much
> memory each of the 3 JVM incarnations (client, server, GUI) is taking up
> individually. I will also include how much memory they have 'reserved'
> (including shared memory) which appears to be what I'm getting now. Any
> ideas? 

I think (half-tamed guess) that one of the options to top will tell you
this.

> Also, I am wondering if the memory usage/number of spawned
> threads/processes would drop if we were to use IBM or Sun's JDK over
> Blackdown. The main reason we're using Blackdown is because we use debian
> and blackdown provides apt-getable binaries. Any thoughts here?

Colour me ignorant. Sorry.



Jenn V.
-- 
    "Do you ever wonder if there's a whole section of geek culture 
        	you miss out on by being a geek?" - Dancer.

jenn at anthill.echidna.id.au     http://anthill.echidna.id.au/~jenn/





More information about the Techtalk mailing list