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.
Summary: | OutOfMemoryError after start NetBeans | ||
---|---|---|---|
Product: | java | Reporter: | stefan79 <stefan79> |
Component: | Compiler | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PERFORMANCE |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Log-File.
Message at Upload. Log-File. |
The Dump is available at (Zipfile with 2 parts): https://skydrive.live.com/redir?resid=FF30805754BC2B3E!203&authkey=!AJVGXnTHlZ34Kr4 reassign to performance team for evaluation can you please upload the heapdump to: http://deadlock.netbeans.org/hudson/job/upload/build the skydrive requires some microsoft account... Created attachment 125151 [details] Message at Upload. (In reply to comment #3) > can you please upload the heapdump to: > http://deadlock.netbeans.org/hudson/job/upload/build Upload doesn´t works (I´ve tried it two times, but I only got the Error-Message. > the skydrive requires some microsoft account... No! There´s public access at this folder. Can you please try again - it seems the hudson node was temporarily offline, can you please try again.
> No! There´s public access at this folder.
if that is so, than for skydrive public="anyone with Microsoft account" which is not the regular definition of public.
(In reply to comment #5) > Can you please try again - it seems the hudson node was temporarily offline, > can you please try again. I think upload worked now (there was no error; but I haven´t seen any info that the upload was successfull). > > No! There´s public access at this folder. > > if that is so, than for skydrive public="anyone with Microsoft account" which > is not the regular definition of public. Sorry. I thougth this is really public (but here´s only the view public but not the download). (In reply to comment #6) > (In reply to comment #5) > > Can you please try again - it seems the hudson node was temporarily offline, > > can you please try again. > I think upload worked now (there was no error; but I haven´t seen any info that > the upload was successfull). Thanks. Upload was successful. One more note - please use zip instead of rar next time. Created attachment 125368 [details]
Log-File.
Yesterday the same at 201210030002:
-) I refreshed my source -> Background Scanning startet
-) about 30 Minutes, the IDE-Response was very slow
-> So I killed the process
-) Than I started NetBeans
-> OutOfMemoryError occured
Closed NB
-) Than I started NetBeans again
-> OutOfMemoryError occured
Closed NB
-) Than I started NetBeans again
Indexing finished and everything works fine.
Should I upload the Dumps?
The problem is caused by enormous source root. OnePassCompileWorker needs a lot of memory to compile it. Unfortunately javac code does not check for low memory when it does compilation. Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/32b156255cdb Integrated into 'main-golden', will be available in build *201210240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/32b156255cdb User: Dusan Balek <dbalek@netbeans.org> Log: Issue #219155: OutOfMemoryError after start NetBeans - fixed. |
Created attachment 125047 [details] Log-File. Yesterday, I restarted NetBeans and after 20 minutes scanning, an OutOfMemoryError occured. (Xmx is set to 2G!)