Does it work for maven based jobs? Looks like you can't set more memory for maven then you gave to jenkins process, because maven executes in parent jenkins java process.
2012/7/26 Markward Schubert <markward.schub...@gmail.com> > Hi Group! > > Is there some known issue with JVM Parameters being ignored for Maven > build steps in freestyle jobs? I have the following parameters set: > > -XX:PermSize=128m -XX:MaxPermSize=512m -Xms512m -Xmx1g > > It seems that these are ignored, because when I put -Xmx8g, the build runs > as if i wrote 1g, although the machine has a total of about 4g of ram. > So I would expect the job to stop with a message, that i assigned more > mem, than available. > The reason for me to investigate in this is, because after activating the > checkstyle plugin, I start getting heapspace Exceptions and started to > experiment with these settings. > > >