-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.OutOfMemoryError: GC overhead limit exceeded #26
Comments
I'm also hitting this problem. |
You can increase memory limit for Java by
|
I acutally did. Even increased it to 10 GB, but it didn't help! |
How big your original repository? |
Just the mirror was above 9 GB insize, I think. Yeah quite a big repository imported from SVN. |
Can you attach full output and command line to this issue? |
Actually I don't have that now. I deleted it as it was a while ago. I will try to recreate the error but cannot say exactly when! |
Looks like I reproduce this issue locally. |
Sorry I closed the issue by mistake :) |
In my case I finally completed a conversion with Regarding size of the repository, here's so you can have an idea of the numbers:
Original repo has a packed size of about 126 GB. |
I created issue #27: There are performance degradation on huge repositories (>250 000 objects). |
Hi,
When converting come really large repos, when the count of objects reaches 400K-500K, I get this error:
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceede
d
at sun.nio.cs.UTF_8.newDecoder(Unknown Source)
at org.eclipse.jgit.util.RawParseUtils.decode(RawParseUtils.java:1127)
at org.eclipse.jgit.util.RawParseUtils.decodeNoFallback(RawParseUtils.ja
va:1073)
at org.eclipse.jgit.util.RawParseUtils.decode(RawParseUtils.java:1033)
at org.eclipse.jgit.treewalk.TreeWalk.pathOf(TreeWalk.java:1291)
at org.eclipse.jgit.treewalk.AbstractTreeIterator.getEntryPathString(Abs
tractTreeIterator.java:462)
at git.lfs.migrate.GitConverter$4.getEntries(GitConverter.java:198)
at git.lfs.migrate.GitConverter$4.depends(GitConverter.java:221)
at git.lfs.migrate.Main.loadTaskGraph(Main.java:316)
at git.lfs.migrate.Main.processRepository(Main.java:166)
at git.lfs.migrate.Main.main(Main.java:86)
Disabling the GC overhead or using another GC algorithm gives the error about Heap size not enough. I keep increasing the heap size but I still keep getting it.
Thanks,
Waqas
The text was updated successfully, but these errors were encountered: