{"action":"created","issue":{"url":"https://api.github.com/repos/rtyley/bfg-repo-cleaner/issues/89","labels_url":"https://api.github.com/repos/rtyley/bfg-repo-cleaner/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/rtyley/bfg-repo-cleaner/issues/89/comments","events_url":"https://api.github.com/repos/rtyley/bfg-repo-cleaner/issues/89/events","html_url":"https://github.com/rtyley/bfg-repo-cleaner/issues/89","id":68689636,"number":89,"title":"java.lang.OutOfMemoryError: : Java Heap Space","user":{"login":"donnib","id":252702,"avatar_url":"https://avatars.githubusercontent.com/u/252702?v=3","gravatar_id":"","url":"https://api.github.com/users/donnib","html_url":"https://github.com/donnib","followers_url":"https://api.github.com/users/donnib/followers","following_url":"https://api.github.com/users/donnib/following{/other_user}","gists_url":"https://api.github.com/users/donnib/gists{/gist_id}","starred_url":"https://api.github.com/users/donnib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donnib/subscriptions","organizations_url":"https://api.github.com/users/donnib/orgs","repos_url":"https://api.github.com/users/donnib/repos","events_url":"https://api.github.com/users/donnib/events{/privacy}","received_events_url":"https://api.github.com/users/donnib/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-15T13:56:47Z","updated_at":"2015-04-16T21:38:23Z","closed_at":null,"body":"mbp:GitMigration$ java -jar bfg-1.12.3.jar --delete-files \"EnhancedLoggingCPB compare.xml\" gitRepo.git\r\n\r\nUsing repo : /Users/mihai/GitMigration/gitRepo.git\r\n\r\nFound 8781 objects to protect\r\nFound 100 commit-pointing refs : HEAD, refs/heads/master, refs/remotes/origin/2250NMT, ...\r\n\r\nProtected commits\r\n-----------------\r\n\r\nThese are your protected commits, and so their contents will NOT be altered:\r\n\r\n * commit 3b234066 (protected by 'HEAD')\r\nException in thread \"main\" java.lang.OutOfMemoryError: Java heap space\r\n\tat java.util.Arrays.copyOfRange(Arrays.java:3209)\r\n\tat java.lang.String.<init>(String.java:215)\r\n\tat java.lang.StringBuilder.toString(StringBuilder.java:430)\r\n\tat sun.net.www.protocol.jar.Handler.parseContextSpec(Handler.java:120)\r\n\tat sun.net.www.protocol.jar.Handler.parseURL(Handler.java:66)\r\n\tat java.net.URL.<init>(URL.java:596)\r\n\tat java.net.URL.<init>(URL.java:464)\r\n\tat sun.misc.URLClassPath$JarLoader.checkResource(URLClassPath.java:690)\r\n\tat sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:775)\r\n\tat sun.misc.URLClassPath.getResource(URLClassPath.java:173)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:194)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:190)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:306)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:247)\r\n\tat org.eclipse.jgit.internal.storage.file.PackFile.load(PackFile.java:800)\r\n\tat org.eclipse.jgit.internal.storage.file.PackFile.get(PackFile.java:257)\r\n\tat org.eclipse.jgit.internal.storage.file.ObjectDirectory.openPackedObject(ObjectDirectory.java:411)\r\n\tat org.eclipse.jgit.internal.storage.file.ObjectDirectory.openPackedFromSelfOrAlternate(ObjectDirectory.java:380)\r\n\tat org.eclipse.jgit.internal.storage.file.ObjectDirectory.openObject(ObjectDirectory.java:372)\r\n\tat org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:145)\r\n\tat org.eclipse.jgit.revwalk.RevWalk.getCachedBytes(RevWalk.java:883)\r\n\tat org.eclipse.jgit.revwalk.RevCommit.parseHeaders(RevCommit.java:145)\r\n\tat org.eclipse.jgit.revwalk.PendingGenerator.next(PendingGenerator.java:148)\r\n\tat org.eclipse.jgit.revwalk.TopoSortGenerator.<init>(TopoSortGenerator.java:78)\r\n\tat org.eclipse.jgit.revwalk.StartGenerator.next(StartGenerator.java:168)\r\n\tat org.eclipse.jgit.revwalk.RevWalk.next(RevWalk.java:421)\r\n\tat org.eclipse.jgit.revwalk.RevWalk.iterator(RevWalk.java:1257)\r\n\tat scala.collection.convert.Wrappers$JIterableWrapper.iterator(Wrappers.scala:54)\r\n\tat scala.collection.IterableLike$class.foreach(IterableLike.scala:72)\r\n\tat scala.collection.AbstractIterable.foreach(Iterable.scala:54)\r\n\r\nthis is a 2.8Gb repository. I am running on a Mac"},"comment":{"url":"https://api.github.com/repos/rtyley/bfg-repo-cleaner/issues/comments/93845646","html_url":"https://github.com/rtyley/bfg-repo-cleaner/issues/89#issuecomment-93845646","issue_url":"https://api.github.com/repos/rtyley/bfg-repo-cleaner/issues/89","id":93845646,"user":{"login":"rtyley","id":52038,"avatar_url":"https://avatars.githubusercontent.com/u/52038?v=3","gravatar_id":"","url":"https://api.github.com/users/rtyley","html_url":"https://github.com/rtyley","followers_url":"https://api.github.com/users/rtyley/followers","following_url":"https://api.github.com/users/rtyley/following{/other_user}","gists_url":"https://api.github.com/users/rtyley/gists{/gist_id}","starred_url":"https://api.github.com/users/rtyley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtyley/subscriptions","organizations_url":"https://api.github.com/users/rtyley/orgs","repos_url":"https://api.github.com/users/rtyley/repos","events_url":"https://api.github.com/users/rtyley/events{/privacy}","received_events_url":"https://api.github.com/users/rtyley/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T21:38:23Z","updated_at":"2015-04-16T21:38:23Z","body":"20 minutes is quite slow, but bearable. You know that you can delete [more than one file or folder](http://stackoverflow.com/a/21636596/438886) in one BFG run, right?"}}