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....
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.