Hello All, i have a struts base application in which lot of views created at runtime when any data want by jsp page this is done by using a view classes, now if i need to know how much memory is been used by that perticular application, at any time i want to do it by a separate servlet or jsp page how can i overcome this problem
with best regards...
and Thanks in advance....
Raheel
Discussions
Web tier: servlets, JSP, Web frameworks: How can we determine memory used by our application
-
How can we determine memory used by our application (1 messages)
- Posted by: Raheel haider
- Posted on: September 01 2003 11:42 EDT
Threaded Messages (1)
- How can we determine memory used by our application by Fredrik Borgh on September 03 2003 10:02 EDT
-
How can we determine memory used by our application[ Go to top ]
- Posted by: Fredrik Borgh
- Posted on: September 03 2003 10:02 EDT
- in response to Raheel haider
Hi Raheel,
I think the best way is to try one of the profiling tools available out there like OptimizeIt, JProfiler or some open source alternative. Do a search on profiling tools on Google and you'll probably come up with alternatives. These tools will give you a good insight into object creation, how much memory different methods use etc.
Regards,
Fredrik