-
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
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).