Recently we upgraded from 1.596.3 to 1.651.3 and observing that the later version is consuming lot of heap as soon as it comes up.
WE have got many jobs with huge build history.. in terms of 4000 builds. Each builds's build.xml is in terms of 500k.
Whenever the instance is restarted the heap starts to grow and finally the instance crashed with OEM.
The heap dump shows that values defined under hudson.model.TextParameterValue of each build is loaded into memory!
Here is the contents of build.xml of one such build. refer screenshot build.xml-screenshot.png
Is it this commit SECURITY-170 Store initial parameters list for later use which is loading all values?