Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3398

Using JNLP slave offers no way to increase memory

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • remoting
    • None
    • Platform: All, OS: All

      It would be nice if Hudson would allow configuring the memory of the slave
      process itself. The slave process does the svn checkout, and this is running
      out of memory for us, for large repositories (which is possibly a problem in its
      own right - a svn checkout should not need to hold onto so much memory!)

      Ideally it would be good if this could be somewhere near the slave
      configuration, but it seems to me that it would need to be the same value for
      all slaves.

      Initially the workaround for this issue is to put max-heap-size="200M" oni each
      <j2se> element in slave-agent.jnlp.jelly

      Marking as a defect as the net result is that we are unable to build using the
      slaves.

          [JENKINS-3398] Using JNLP slave offers no way to increase memory

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/slaves/JNLPLauncher.java
          trunk/hudson/main/core/src/main/resources/hudson/slaves/JNLPLauncher/config.jelly
          trunk/hudson/main/core/src/main/resources/hudson/slaves/JNLPLauncher/help-vmargs.html
          trunk/hudson/main/core/src/main/resources/hudson/slaves/SlaveComputer/slave-agent.jnlp.jelly
          trunk/hudson/main/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
          trunk/hudson/main/test/src/test/java/hudson/slaves/JNLPLauncherTest.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=16860
          Log:
          [FIXED JENKINS-3398] Allow JVM arguments to be specified for JNLP slaves.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/slaves/JNLPLauncher.java trunk/hudson/main/core/src/main/resources/hudson/slaves/JNLPLauncher/config.jelly trunk/hudson/main/core/src/main/resources/hudson/slaves/JNLPLauncher/help-vmargs.html trunk/hudson/main/core/src/main/resources/hudson/slaves/SlaveComputer/slave-agent.jnlp.jelly trunk/hudson/main/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java trunk/hudson/main/test/src/test/java/hudson/slaves/JNLPLauncherTest.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=16860 Log: [FIXED JENKINS-3398] Allow JVM arguments to be specified for JNLP slaves.

            Unassigned Unassigned
            trejkaz trejkaz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: