Issue Details (XML | Word | Printable)

Key: JELLY-148
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: Hans Gilde
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Jelly

Huge memory leak resulting from the use of ThreadLocal

Created: 19/Sep/04 04:34 AM   Updated: 16/Dec/04 11:26 PM
Return to search
Component/s: core / taglib.core
Affects Version/s: 1.0
Fix Version/s: 1.0

Time Tracking:
Not Specified

File Attachments:
  Size
Zip Archive Licensed for inclusion in ASF works jelly-nothreadlocal.ZIP 2004-09-28 08:39 AM Guido Anzuoni 13 kB
Zip Archive Licensed for inclusion in ASF works jelly-nothreadlocal2.ZIP 2004-10-04 09:10 AM Guido Anzuoni 6 kB
Text File Licensed for inclusion in ASF works memory-leak-junit-test.txt 2004-10-15 04:49 AM Hans Gilde 7 kB
Java Source File Licensed for inclusion in ASF works TagScript.java 2004-12-16 11:26 PM Paul Libbrecht 22 kB
Text File Licensed for inclusion in ASF works thread-local-memory-leak-fix-demo-parent.txt 2004-09-27 12:40 AM Hans Gilde 19 kB
Text File Licensed for inclusion in ASF works thread-local-memory-leak-fix-demo.txt 2004-09-19 08:31 PM Hans Gilde 3 kB
Text File Licensed for inclusion in ASF works thread-local-memory-leak-fix-final-1.txt 2004-10-13 04:29 AM Hans Gilde 15 kB
Text File Licensed for inclusion in ASF works thread-local-memory-leak-fix-final-xml-tags.txt 2004-10-13 04:30 AM Hans Gilde 3 kB
Text File Licensed for inclusion in ASF works thread-local-memory-leak-fix-final.txt 2004-10-03 12:33 AM Hans Gilde 10 kB
Zip Archive Licensed for inclusion in ASF works thread-local-memory-leak-profile.zip 2004-09-19 09:16 PM Hans Gilde 2 kB
Zip Archive Licensed for inclusion in ASF works thread-local-memory-leak.zip 2004-09-19 04:37 AM Hans Gilde 2 kB

Resolution Date: 28/Oct/04 07:24 PM


 Description  « Hide
There is a huge memory leak that results from the TagScript's use of ThreadLocal.

ThreadLocal is usually used from a staic variable, while TagScript uses it from an instance variable. Although this looks legal to me, it causes a huge memory leak.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Hans Gilde made changes - 19/Sep/04 04:37 AM
Field Original Value New Value
Attachment thread-local-memory-leak.zip [ 17720 ]
Hans Gilde made changes - 19/Sep/04 08:31 PM
Hans Gilde made changes - 19/Sep/04 09:16 PM
Hans Gilde made changes - 27/Sep/04 12:40 AM
Guido Anzuoni made changes - 28/Sep/04 08:39 AM
Attachment jelly-nothreadlocal.ZIP [ 17785 ]
dion gillard made changes - 02/Oct/04 01:14 PM
Affects Version/s 1.0 [ 10216 ]
Affects Version/s 1.0-beta-5 [ 10783 ]
Hans Gilde made changes - 03/Oct/04 12:33 AM
Guido Anzuoni made changes - 04/Oct/04 09:10 AM
Attachment jelly-nothreadlocal2.ZIP [ 17819 ]
Hans Gilde made changes - 13/Oct/04 04:29 AM
Hans Gilde made changes - 13/Oct/04 04:30 AM
Hans Gilde made changes - 15/Oct/04 04:49 AM
Attachment memory-leak-junit-test.txt [ 17910 ]
dion gillard made changes - 27/Oct/04 12:02 AM
Fix Version/s 1.0 [ 10216 ]
dion gillard made changes - 28/Oct/04 07:24 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Paul Libbrecht made changes - 16/Dec/04 11:26 PM
Attachment TagScript.java [ 18420 ]