This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Memory Leakage in Struts !!" Watch "Memory Leakage in Struts !!" New topic
Author

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


- 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="http://kvrlogs.blogspot.com" 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
rohit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Memory Leakage in Struts !!
 
Similar Threads
Memory Leakage!
Files problem
How can I found which class and method has memory leakage?
$.getJSON leaking memory?
What is Memory Leakage