This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Struts and the fly likes Memory Leakage in Struts !! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Memory Leakage in Struts !!" Watch "Memory Leakage in Struts !!" New topic

Memory Leakage in Struts !!

Rohit Mehta
Ranch Hand

Joined: Mar 11, 2005
Posts: 79

hi all
how can we determine memory leakage in a struts aplication, to check weather the aplication is using too much memory!
or not closing connections after using them

this is in ref of my earlier mail (Help, struts aplication at Tomcat very slow ), im trying from this view
plz look at that issue also, im requesting to all, specially to Tomcat/ struts oldhands.
hope i will find some help at this fine place.
thanx & regards

- Rohit
Venkatraman Kandaswamy
Ranch Hand

Joined: Jul 07, 2004
Posts: 120
Did you try any profiling tools on your application? Like eclipse profiler? It can point which class is dragging its feet. Then how can you be so sure its struts and not because of one of your classes?? Your application could be waiting for some database connection or is it accessing the database on another server - could be network latency issues?? If struts had memory leaks and such issues I dont think it would have got this wide an acceptance in the industry. Sorry I dont know how to help you in this - if my rambling sparks any discussion in this forum its well and good...else just consider its just a memory leak from me good luck in your work !!

--Venkatraman<br />SCJP 1.4<br /><a href="" target="_blank" rel="nofollow">blog</a>
Rohit Mehta
Ranch Hand

Joined: Mar 11, 2005
Posts: 79

Thanx venkat
what i meant was actually memory leak for classsses, not for struts...
right u r, im trying JProbe, lets see..
but defenitely thats a problem like hard nut, more suggetions r welcome at this topic..
thanx again
I agree. Here's the link:
subject: Memory Leakage in Struts !!