tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15845] - 4.1.19 Memory Leak when creating compilier for JSP pages
Date Fri, 01 Apr 2005 11:43:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=15845>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=15845





------- Additional Comments From colinryan@yahoo.com  2005-04-01 13:43 -------
(In reply to comment #20)
> Unneded objects created for JSP page compiles are now dereferenced so that
> they are eligible for GC.  Patch applied to both Tomcat 4.1 Jasper 2 and
> Tomcat 5.0 Jasper 2.

We have just hit on this problem in a production system (build 4.1.18). The 
problem is particularly prevalent because we publish out new JSPs (dynamic 
content) on a daily basis. 

While I understand this bug is designated closed I would like to know if it 
has been fixed in subsequent 4.x releases (cant find any evidence of this) and 
secondly if it is still an issue in 5.x (i.e. when it was eventually fixed).

We can patch our cut of the Tomcat code with the fork() for Javac (which was 
introduced in 4.1.19) and by referencing the compiler instance in the 
JspCompilationContext class but this is non ideal and does not fix the core 
problem.

We would like to move to a Tomcat version that fixes this issue while 
minimising the 'jump' in releases we must take to accomplish this. 

Guidance much appreciated.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message