Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-2180

Modz Detector causes Out of Memory Exceptions in 2.1 EAP

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • CC-M5
    • CC-M2
    • None
    • None

    Description

      When trying to startup fisheye 2.1 it crashes with an out of memory error unless you adjust the max heap size in FISHEYE_OPTS:

      java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:106)
              at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:39)
      Caused by: java.lang.OutOfMemoryError: Java heap space
              at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:95)
              at com.atlassian.modzdetector.IOUtils.copyLarge(IOUtils.java:53)
              at com.atlassian.modzdetector.IOUtils.copy(IOUtils.java:37)
              at com.atlassian.modzdetector.IOUtils.toByteArray(IOUtils.java:31)
              at com.atlassian.modzdetector.MD5HashAlgorithm.getHash(MD5HashAlgorithm.java:17)
              at com.atlassian.modzdetector.ModzDetector.checkResource(ModzDetector.java:153)
              at com.atlassian.modzdetector.ModzDetector.checkResource(ModzDetector.java:201)
              at com.atlassian.modzdetector.ModzDetector.checkRegistry(ModzDetector.java:77)
              at com.atlassian.modzdetector.ModzDetector.getModifiedFiles(ModzDetector.java:53)
              at com.atlassian.modzdetector.ModzDetector.getModifiedFiles(ModzDetector.java:36)
              at com.cenqua.fisheye.support.ModzDetectorCache.getModifications(ModzDetectorCache.java:49)
              at com.cenqua.fisheye.ctl.Run.printSystemInfo(Run.java:421)
              at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:285)
              at com.cenqua.fisheye.ctl.Run.main(Run.java:71)

      Related issue is MODZ-2 which was fixed in Modz Detector 0.8 so we should upgrade from 0.6.

      Attachments

        Activity

          People

            cmacneill Conor
            andrew.myers Andrew Myers [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: