-
Bug
-
Resolution: Fixed
-
Critical
-
None
PerJobCredentialStore is kept in ExportTable and is never released which can leads to OOM, for details see [1] and also [2].
[1]http://jenkins.361315.n4.nabble.com/jenkins-running-out-of-memory-heapspace-I-have-a-memory-leak-td3658830.html
[2]http://jenkins.361315.n4.nabble.com/Severe-memory-leak-in-hudson-td3162254.html
[JENKINS-10424] PerJobCredentialStore kept in ExportTable (potential OOM)
Component/s | New: subversion [ 15485 ] |
Assignee | New: Kohsuke Kawaguchi [ kohsuke ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
IMHO it's cause by PerJobCredentialStore.writeReplace() which increases reference count, but later on it's not decreased and there it's kept in ExportTable all the time (but still not compltely about it).