[ https://issues.jenkins-ci.org/browse/JENKINS-13109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161151#comment-161151 ]
SCM/JIRA link daemon commented on JENKINS-13109: ------------------------------------------------ Code changed in jenkins User: Rob Petti Path: src/main/java/com/tek42/perforce/parse/ChangelistBuilder.java src/main/java/com/tek42/perforce/parse/Changes.java src/main/java/hudson/plugins/perforce/PerforceSCM.java src/main/resources/hudson/plugins/perforce/PerforceSCM/config.jelly src/main/webapp/help/fileLimit.html src/test/java/hudson/plugins/perforce/PerforceSCMTest.java http://jenkins-ci.org/commit/perforce-plugin/a2523100d02ca360fd23b382af4e531c4dc6ac59 Log: Merge pull request #18 from miktap/master [JENKINS-13109] Huge changelogs eat all the Java memory Compare: https://github.com/jenkinsci/perforce-plugin/compare/11249ca...a252310 > Huge changelogs eat all the Java memory > --------------------------------------- > > Key: JENKINS-13109 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13109 > Project: Jenkins > Issue Type: Bug > Components: perforce > Environment: Windows Server 2008 HPC Edition > 64-bit JVM 1.6.0_29 > Running Jenkins service with "<arguments>-Xrs -Xmx2048m > -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar > "%BASE%\jenkins.war" --httpPort=8080</arguments>" > Reporter: Mikko Tapaninen > > With really huge changelists the p4 plugin can run out of java heap space. At > least it looks like the reason for memory problems would be huge > changelog.xml files. An example case: > - a changelist with > 400000 files > - results in a changelog.xml size > 110MB > - Jenkins runs out of memory: {{java.lang.OutOfMemoryError: Java heap space}} > Maybe there should be an option to limit the amount of files that p4 plugin > reads to from changelists? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira