Community
Participate
Working Groups
Created attachment 191287 [details] log file Hi, I have a remote Rep from which I want to fetch, the first time it works. Everytime I try it again I get: An internal error occurred during: "Fetch from file:///I:/repository.git". Java heap space or An internal error occurred during: "GitDecoratorJob[D:/Zend Server/Apache2/htdocs/project/.git]". Java heap space The Heap Space goes through the roof with >700mb and it crashes. Version 0.11.3 on Zend Studio 8.0 The project size is about ~30mb and 3000 files. It includes Zend Framework, but I tried it without the library too. Same errors with 500kb and ~100 files. And we just tried the nightly with same results.
Created attachment 191288 [details] little picture of the error
Can you share the repository or is this a private one ? Could you create a heap dump to check where the memory is consumed ? If you are using Sun/Oracle JVM you may configure that by using the VM parameter -XX:+HeapDumpOnOutOfMemoryError
hi, its a private one, i´ll look into the heap thing on zend studio :)
Here we go: Problem Suspect 1 The thread org.eclipse.core.internal.jobs.Worker @ 0xfd44410 Worker-5 keeps local variables with total size 433.302.656 (83,30%) bytes. Thread Stack Worker-5 at org.eclipse.jgit.lib.ObjectId.fromRaw([BI)Lorg/eclipse/jgit/lib/ObjectId; (ObjectId.java:180) at org.eclipse.jgit.lib.ObjectId.fromRaw([B)Lorg/eclipse/jgit/lib/ObjectId; (ObjectId.java:161) at org.eclipse.jgit.storage.file.PackFile.load(Lorg/eclipse/jgit/storage/file/WindowCursor;J)Lorg/eclipse/jgit/lib/ObjectLoader; (PackFile.java:710) at org.eclipse.jgit.storage.file.PackFile.get(Lorg/eclipse/jgit/storage/file/WindowCursor;Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/lib/ObjectLoader; (PackFile.java:221) at org.eclipse.jgit.storage.file.ObjectDirectory.openObject1(Lorg/eclipse/jgit/storage/file/WindowCursor;Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/lib/ObjectLoader; (ObjectDirectory.java:439) at org.eclipse.jgit.storage.file.CachedObjectDirectory.openObject1(Lorg/eclipse/jgit/storage/file/WindowCursor;Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/lib/ObjectLoader; (CachedObjectDirectory.java:199) at org.eclipse.jgit.storage.file.FileObjectDatabase.openObjectImpl1(Lorg/eclipse/jgit/storage/file/WindowCursor;Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/lib/ObjectLoader; (FileObjectDatabase.java:172) at org.eclipse.jgit.storage.file.CachedObjectDirectory.openObject(Lorg/eclipse/jgit/storage/file/WindowCursor;Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/lib/ObjectLoader; (CachedObjectDirectory.java:191) at org.eclipse.jgit.storage.file.WindowCursor.open(Lorg/eclipse/jgit/lib/AnyObjectId;I)Lorg/eclipse/jgit/lib/ObjectLoader; (WindowCursor.java:110) at org.eclipse.jgit.transport.PackParser.verifySafeObject(Lorg/eclipse/jgit/lib/AnyObjectId;I[B)V (PackParser.java:922) at org.eclipse.jgit.transport.PackParser.whole(JIJ)V (PackParser.java:897) at org.eclipse.jgit.transport.PackParser.indexOneObject()V (PackParser.java:817) at org.eclipse.jgit.transport.PackParser.parse(Lorg/eclipse/jgit/lib/ProgressMonitor;Lorg/eclipse/jgit/lib/ProgressMonitor;)Lorg/eclipse/jgit/storage/file/PackLock; (PackParser.java:448) at org.eclipse.jgit.storage.file.ObjectDirectoryPackParser.parse(Lorg/eclipse/jgit/lib/ProgressMonitor;Lorg/eclipse/jgit/lib/ProgressMonitor;)Lorg/eclipse/jgit/storage/file/PackLock; (ObjectDirectoryPackParser.java:178) at org.eclipse.jgit.transport.PackParser.parse(Lorg/eclipse/jgit/lib/ProgressMonitor;)Lorg/eclipse/jgit/storage/file/PackLock; (PackParser.java:410) at org.eclipse.jgit.transport.BasePackFetchConnection.receivePack(Lorg/eclipse/jgit/lib/ProgressMonitor;)V (BasePackFetchConnection.java:649) at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(Lorg/eclipse/jgit/lib/ProgressMonitor;Ljava/util/Collection;Ljava/util/Set;)V (BasePackFetchConnection.java:280) at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(Lorg/eclipse/jgit/lib/ProgressMonitor;Ljava/util/Collection;Ljava/util/Set;)V (BasePackFetchConnection.java:225) at org.eclipse.jgit.transport.FetchProcess.fetchObjects(Lorg/eclipse/jgit/lib/ProgressMonitor;)V (FetchProcess.java:214) at org.eclipse.jgit.transport.FetchProcess.executeImp(Lorg/eclipse/jgit/lib/ProgressMonitor;Lorg/eclipse/jgit/transport/FetchResult;)V (FetchProcess.java:149) at org.eclipse.jgit.transport.FetchProcess.execute(Lorg/eclipse/jgit/lib/ProgressMonitor;Lorg/eclipse/jgit/transport/FetchResult;)V (FetchProcess.java:111) at org.eclipse.jgit.transport.Transport.fetch(Lorg/eclipse/jgit/lib/ProgressMonitor;Ljava/util/Collection;)Lorg/eclipse/jgit/transport/FetchResult; (Transport.java:903) at org.eclipse.jgit.api.FetchCommand.call()Lorg/eclipse/jgit/transport/FetchResult; (FetchCommand.java:134) at org.eclipse.egit.core.op.FetchOperation.run(Lorg/eclipse/core/runtime/IProgressMonitor;)V (FetchOperation.java:128) at org.eclipse.egit.ui.internal.fetch.FetchOperationUI.execute(Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/jgit/transport/FetchResult; (FetchOperationUI.java:99) at org.eclipse.egit.ui.internal.fetch.FetchOperationUI$1.run(Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/core/runtime/IStatus; (FetchOperationUI.java:117) at org.eclipse.core.internal.jobs.Worker.run()V (Worker.java:54)
Created attachment 191599 [details] java_pid3380_Leak_Suspects Sorry, found the zip too late
Have you tried the nightly build? There have been changes to fix other bugs in the JGit core, your problem just might have been fixed since the last build.
You can grab a nightly build from here... http://download.eclipse.org/egit/updates-nightly
I tried the nightly and it works on my system. But my co-worker still got the error. He tried it with my version on his system and still got the error too. I thought maybe his Workspace is corrupt. So I copied his Workspace on my system, but it worked. So, maybe its a problem with his repository?
(In reply to comment #8) > I tried the nightly and it works on my system. > But my co-worker still got the error. > He tried it with my version on his system and still got the error too. > I thought maybe his Workspace is corrupt. So I copied his Workspace on my > system, but it worked. > > So, maybe its a problem with his repository? Be careful to verify that what your mate sees is actually the same error. It may also be a problem with a lot of plugins. Especially the JEE edition of a Eclipse plus a ton of extra plugins may require more memory than you have, triggering an out-of-memory in any plugin.
It is the same error, but it came from an old rep of an older egit version. We created a new one with a ner nightly build, seems to fix it. But we will give it another try the next few days.
seems to be fixed now, everything works fine! :)
closing this message as Marc reported that the problem is fixed