• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core

      After i start jenkins with the command brew services start jenkins-lts, it runs out of memory a few minutes after startup. At first it doesn't lag or anything, but after a few minutes it freezes completely. There are no jobs building so i don't know what can cause this. During the first few minutes, i can navigate freely and even build jobs and it doesn't affect this issue.

          [JENKINS-67720] Out of memory a few minutes after startup

          Melvin Mege added a comment -

          I figured it out after deleting files little by little.

          After upgrade jenkins, the saves weren't "readable" anymore. To add complexity, the saves directories are quite big and if the job is build after another build, the save also stores said build in the same directory. However, you still have one directory per job built. So you have dupes of informations. If you run recursively enough, the path becomes big enough to crash the whole system.

          My solution was to somehow delete the saves (when the path is too big, it becomes quite the hassle) and change the call parameters of my jobs so they do not build themselves over and over.

          Melvin Mege added a comment - I figured it out after deleting files little by little. After upgrade jenkins, the saves weren't "readable" anymore. To add complexity, the saves directories are quite big and if the job is build after another build, the save also stores said build in the same directory. However, you still have one directory per job built. So you have dupes of informations. If you run recursively enough, the path becomes big enough to crash the whole system. My solution was to somehow delete the saves (when the path is too big, it becomes quite the hassle) and change the call parameters of my jobs so they do not build themselves over and over.

            plamed Melvin Mege
            plamed Melvin Mege
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: