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

Hudson loads entire text of log file into heap, 2x

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ant-plugin
    • None
    • Platform: All, OS: All

      I have a project which was for a while generating 150 Mb log files (due to use
      of ant -v to track down a config problem). With the server running at -Xmx400m,
      I still got OOMEs at the end of the build. By looking at a jhat-format dump, I
      found that the complete text of the log file was present as char[] in Hudson's
      heap... twice!

            dwdyer dwdyer
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: