This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249764 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED WONTFIX
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-12 23:03 UTC by kinjalb
Modified: 2015-07-29 09:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 214738


Attachments
stacktrace (938 bytes, text/plain)
2015-01-12 23:03 UTC, kinjalb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kinjalb 2015-01-12 23:03:48 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: OpenJDK 64-Bit Server VM, 24.65-b04, OpenJDK Runtime Environment, 1.7.0_65-b32
OS: Linux

User Comments:
kinjalb: I created a C++ project using the menu. While creating the symbols database the netbeans ran out of heap.




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at org.netbeans.modules.cnd.makeproject.api.configurations.Folder.getAllFolders(Folder.java:1341)
   at org.netbeans.modules.cnd.makeproject.api.configurations.Folder.getAllFolders(Folder.java:1348)
   at org.netbeans.modules.cnd.makeproject.api.configurations.Folder.getAllFolders(Folder.java:1348)
   at org.netbeans.modules.cnd.makeproject.api.configurations.Folder.getAllFolders(Folder.java:1348)
   at org.netbeans.modules.cnd.makeproject.api.configurations.Folder.getAllFolders(Folder.java:1348)
   at org.netbeans.modules.cnd.makeproject.api.configurations.Folder.getAllFolders(Folder.java:1335)
Comment 1 kinjalb 2015-01-12 23:03:50 UTC
Created attachment 151470 [details]
stacktrace
Comment 2 Alexander Simon 2015-07-21 09:39:03 UTC
I see 700Mb in org.netbeans.libs.git.jgit.commands.StatusCommand
Reassign to evaluation
Comment 3 Ondrej Vrabec 2015-07-29 09:35:48 UTC
There is huge number of uncommitted files inside git repository at /space/kinjal/builds/.../..._amss_device
for example: LINUX/android/out/target/.../classes/.../Annotations...$....class
Please consider git ignoring all of them you do not intend to commit. And make sure you really version only what you want, there seems to be a lot of files in the repo anyway, are you sure git is initialized at the correct folder? For example there seems to be nested repo: LINUX/.../.repo/projects/kernel.git, this does not seem right to me.