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

memory leak with remotely-run command output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • accurev-plugin
    • None
    • Distributed build, Jenkins on one machine and multiple slaves on other machines. All running Windows (Jenkins on XP, some slaves on Win7, some W2k8s-R2, some XP).

      My Jenkins main server process keeps throwing OutOfHeapSpace errors and falling over.
      I've given it 1.5gigs of ram (the Java process, that is, the XP machine has 3.5gigs), and it still does it - uptime has fallen down to hours (sometimes minutes), rather than weeks.

      I've taken a look at the heap and it's packed full of 8meg byte[] arrays, each containing the results of running the "accurev show ... streams" command (which on my accurev server, returns 22300 elements albeit mostly snapshots, but 8megs worth).

      It would appear that, if the plugin runs the "accurev show streams" command, whilst it tries to forget about the output, the output is not forgotten enough for it to get garbage collected.

            jetersen Joseph Petersen
            pjdarton pjdarton
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: