| Summary: | Out of heap space with synchronization | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Ian Bull <irbull> |
| Component: | Core | Assignee: | Project Inbox <egit.core-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | joel.schaal, matthias.sohn, robin |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
*** Bug 388780 has been marked as a duplicate of this bug. *** Could you try to reproduce this with EGit 2.3.1? There was a memory use problem with the EGit synchronize code that was fixed there, see bug 396209. *** This bug has been marked as a duplicate of bug 329427 *** |
I also got the following OOME when I tried to synchronize I have 200M allocated to my heap. !MESSAGE An internal error occurred during: "Fetching changes before synchronization launch". !STACK 0 java.lang.OutOfMemoryError: Java heap space at org.eclipse.jgit.storage.file.PackReverseIndex.<init>(PackReverseIndex.java:104) at org.eclipse.jgit.storage.file.PackFile.getReverseIdx(PackFile.java:1025) at org.eclipse.jgit.storage.file.PackFile.findObjectForOffset(PackFile.java:289) at org.eclipse.jgit.storage.file.LargePackedDeltaObject.getObjectId(LargePackedDeltaObject.java:263) at org.eclipse.jgit.storage.file.LargePackedDeltaObject.openStream(LargePackedDeltaObject.java:174) at org.eclipse.jgit.lib.ObjectLoader.getCachedBytes(ObjectLoader.java:187) at org.eclipse.jgit.revwalk.RevWalk.getCachedBytes(RevWalk.java:861) at org.eclipse.jgit.revwalk.RevWalk.parseNew(RevWalk.java:825) at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:811) at org.eclipse.jgit.transport.FetchProcess.askForIsComplete(FetchProcess.java:324) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:150) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:129) at org.eclipse.egit.core.op.FetchOperation.run(FetchOperation.java:128) at org.eclipse.egit.ui.internal.fetch.FetchOperationUI.execute(FetchOperationUI.java:99) at org.eclipse.egit.ui.internal.synchronize.SynchronizeFetchJob.run(SynchronizeFetchJob.java:74) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)