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

restoring a backup that is large causes an Out of Memory Error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • None
    • 2.0-B3
    • None
    • None

    Description

      restoring a large backup (in the order of 1.5gigs) cause an Out of Memory Error, see this bug report http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4705373

      stack trace:

      [echo] Restoring to /Users/jxie/dev/repos/local-pg: restore -f /Users/jxie/dev/repos/local-pg.zip -t postgresql -u crucible -p crucible -j jdbc:postgresql://localhost:5432/crucible
           [java] ERROR: problem running command
           [java] java.lang.reflect.InvocationTargetException
           [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           [java]     at java.lang.reflect.Method.invoke(Method.java:585)
           [java]     at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:106)
           [java]     at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:39)
           [java] Caused by: java.lang.OutOfMemoryError
           [java]     at java.util.zip.ZipFile.open(Native Method)
           [java]     at java.util.zip.ZipFile.<init>(ZipFile.java:203)
           [java]     at java.util.zip.ZipFile.<init>(ZipFile.java:84)
           [java]     at com.cenqua.fisheye.ctl.Restore.run(Restore.java:90)
           [java]     at com.cenqua.fisheye.ctl.Restore.main(Restore.java:185)
           [java]     ... 6 more
           [java] Java Result: 1
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jxie Chii
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: