|
|
 |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Kohsuke Kawaguchi
|
|
Components:
|
core |
|
Created:
|
11/Oct/12 6:04 PM
|
|
Description:
|
Jelly TagScripts maintain a per-thread cache of Tag objects. These Tag objects in turn hold on to their JellyContexts. This tag cache doesn't get GC-ed until the thread is dead, so if there are a large number of HTTP request handling threads, over time the tag cache gets pretty full, results in OutOfMemoryError.
This problem is fixed in Jelly and integrated into stapler 1.197, which gets released in 1.485 through 288827f67166c3159f18babf87b16693f537bb9b.
I'm recording this here to make this backported to LTS.
|
|
Project:
|
Jenkins
|
|
Priority:
|
Critical
|
|
Reporter:
|
Kohsuke Kawaguchi
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
Main line release got this fix in 1.485.
The symptom of this OutOfMemoryError is a large amount of memoryu retained by such classes like JellyContext, TagScript, ScriptBlock, and so on.