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 270689 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Slowness Detector (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: issues@performance
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-20 12:22 UTC by allanNB
Modified: 2017-05-20 12:22 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 226106


Attachments
stacktrace (760 bytes, text/plain)
2017-05-20 12:22 UTC, allanNB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description allanNB 2017-05-20 12:22:35 UTC
This bug was originally marked as duplicate of bug 267906, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201704110002)
VM: OpenJDK 64-Bit Server VM, 25.131-b11, OpenJDK Runtime Environment, 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11
OS: Linux

User Comments:
GUEST: CTRL + SPACE for autocomplete!

GUEST: <Please provide a description of the problem or the steps to reproduce>

GUEST: when i open the IDE , it keep on hanging and i cannot code anaymore.

GUEST: automatically netbeans started to do background scanning of projects. The waiting time was more than 18 hours. I did wait, but system go stuck

GUEST: Application Frozen

twolf2919: NB was running on another virtual desktop when I packed up my laptop from the office and connected it back home.  The two monitors are different resolutions: work 1900x1200, home 2500x1440.  So when I went to my NB virtual desktop, it was the wrong size (I expected this and have done the following a million times before), so I click the Mac's green "maximize" window button.  This usually cause NB to resize.  This time, the button stayed depressed, CPU went high, and everything kind of got stuck there - until I killed the process.

GUEST: Failed on a query of about a quater milloin records

GUEST: none

GUEST: started IDE

jdavidbakr: Stalled while synchronizing with server.  I had switched from branch a, which had a new large directory, to branch b, and then merged branch a into branch b, so the directly went away and then came back immediately, so I think the file upload queue got very large.  It was uploading for nearly an hour before it finally stalled out and became unresponsive.

GUEST: geting stuck when project background scanning. this happens after i updated NB

sunflower: Run the IDE with JDK 9

GUEST: programming

herlandercs: ,,,

GUEST: Had left Netbeans open for a while, and had run things in debug several times.

GUEST: All projects were not running, however I left Netbeans running over the weekend.

allanNB: left Netbeans idle with a Netbeans Connector attached to a Google Chrome tab




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.WeakHashMap.newTable(WeakHashMap.java:195)
   at java.util.WeakHashMap.<init>(WeakHashMap.java:220)
   at java.util.WeakHashMap.<init>(WeakHashMap.java:233)
   at org.netbeans.modules.sampler.SamplesOutputStream.<init>(SamplesOutputStream.java:115)
   at org.netbeans.modules.sampler.Sampler.start(Sampler.java:173)
   at org.netbeans.core.TimableEventQueue.run(TimableEventQueue.java:227)
Comment 1 allanNB 2017-05-20 12:22:43 UTC
Created attachment 164358 [details]
stacktrace