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.
Created attachment 136976 [details] messages.log netbeans ran out of memory while running a unit test which included running several threads. (not sure if I've registered the correct component for this..)
Created attachment 136978 [details] AfterRestartExceptions
To investigate the issue, we need a heap dump, which is on your disk. Please take the file C:\Users\xxnavarv\AppData\Roaming\NetBeans\7.4beta\var\log\heapdump.hprof.old, zip it and upload it here: <http://deadlock.netbeans.org/job/upload/build?delay=0sec>. Thanks.
I just uploaded the heap dump as described in previous comment: http://deadlock.netbeans.org/job/upload/280/
The OoME happened when cca 70MB of text from output was put into clipboard. The OoME is from java clipboard and we probably can't do anything about it. Howewer the exacerbating factor was that a lot of memory is consumed by ~700000 instances of org.netbeans.core.output2.LineInfo and its baggage. So although the text in output itself is memory-mapped and thus ok, the miscellaneous info about it is not. Reassigning to platform/output to take a look whether the memory footprint of output couldn't be further reduced.
*** Bug 235205 has been marked as a duplicate of this bug. ***
*** Bug 236467 has been marked as a duplicate of this bug. ***
*** Bug 236634 has been marked as a duplicate of this bug. ***
There are LineInfo objects even for lines that have no special properties. This is a regression originating in fix for bug 228480 (core-main #33d52f118356). Fixed in http://hg.netbeans.org/core-main/rev/ffae29d0d978. Thank you very much for reporting.
Can you please verify the fix (due to 74patch1)? Thank you.
fix seems ok, I've inspected that some verbose ant output has ~100 instances of LineInfo on ~3000 lines of output (they are for target invocations lines).VerifiedProduct Version: NetBeans IDE Dev (Build 201311120002)Java: 1.7.0_45
Thank you very much for the verification, Tomas. Integrated into release74 branch: http://hg.netbeans.org/releases/rev/1ffd5b318472 (graft) http://hg.netbeans.org/releases/rev/13388ae1d610 (specification version)
Integrated into 'releases/release74', will be available in build *201311141216* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/1ffd5b318472 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #232547: Out of memory - many instances of LineInfo
*** Bug 238491 has been marked as a duplicate of this bug. ***
*** Bug 236793 has been marked as a duplicate of this bug. ***
verified in Product Version: NetBeans IDE 7.4 (Build 201310111528) Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 1 Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Mac OS X version 10.9 running on x86_64; UTF-8; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/7.4 Cache directory: /Users/tomas/Library/Caches/NetBeans/7.4
*** Bug 242006 has been marked as a duplicate of this bug. ***
*** Bug 244341 has been marked as a duplicate of this bug. ***
*** Bug 245815 has been marked as a duplicate of this bug. ***