you could try to use a profiler like: http://www.yourkit.com

that one is pretty good.


Donnerstag, Juergen wrote:

Hi,

I try to create a Wicket component which contains kind of debug-information
about components of a page. Because Wicket maintains this information in
session memory, I thought it might be good to add the size of each
component. Java, at least until 1.4.2 does not provide a sizeof method and
the ObjectProfile classes provided in util.profile don't work properly,
besides that it takes in average 60 seconds to calculate the size of one
component. The size calculated don't seem to be correct (1.1MB for one
single Label component).

Since Java 1.5 the instrumentation package contains getObjectSize(), which I
haven't tried yet. Does anybody no of any other feasable solution for Java
1.4?

Besides, I guess Tomcat as well as Jetty provide Session information
somewhere. Could someone please point me into the right direction. Thanks

Juergen



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Wicket-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-user







------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Wicket-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to