JProbe from the KL Group will provide you with all Object types and instance
counts while Tomcat is running-- you can watch them change with every
request. You can also watch GC happen in great detail. It was easy to use
and it helped us eliminate a memory leak in our webapp. Not sure about its
price, though...
Steve
> -----Original Message-----
> From: Alex Fernández [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 2:31 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Some benchmarks
>
>
> Costin:
>
> Is there any way to find out how many objects are created in the JVM?
>
> I remember seeing something similar on a pre-release version
> of MacOS X: it
> sampled the number of objects of the different core classes that were
> allocated at any moment.
>
> Otherwise, how do you find out how many objects are allocated by the
> container with each request?
>
> Just curious.
>
> Un saludo,
>
> Alex.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]