Issue Details (XML | Word | Printable)

Key: JRA-12549
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andreas Knecht [Atlassian]
Votes: 0
Watchers: 3
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
JIRA

JIRA leaks instances of the VelocityEngine in several places

Created: 12/Apr/07 01:15 AM   Updated: 14/May/07 11:29 PM   Resolved: 16/Apr/07 07:10 PM
Return to search
Issue 22052 of 63008 issue(s)
<< Previous | JRA-12549 | Next >>
Component/s: Performance - Memory leaks
Affects Version/s: 3.8
Fix Version/s: 3.9

Time Tracking:
Not Specified

Issue Links:
Reference
 

Participants: Andreas Knecht [Atlassian] and tmjee
Since last comment: 2 years, 42 weeks, 6 days ago
Labels:


 Description  « Hide

There's a couple of places in JIRA where we leak (or could potentially leak) the VelocityEngine directly or indirectly via the WW-ActionContext threadlocal.

These are:

  • WebWorkAdaptor.mapJellyTagToAction (finalizeContext should be in finally block)
  • JiraPluginWebworkVelocityServlet (static declaration of VelocityManager)
  • SearchContextImpl.GLOBAL_SEARCH_CONTEXT may hold on to VelocityManagers (via several links)
  • QuickLinkServlet: locally caches several managers that may hold on to the VelocityManager/Engine.


No work has yet been logged on this issue.