You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Lister Jonathan <jo...@vaisala.com> on 2019/01/08 12:35:00 UTC

NB 10 Sluggish start up and multiple Low memory errors, possible issue with automatic -Xmx setting?

Out-of-the box configuration is extremely slow and un-usable on first launch whilst the 'Background scanning of projects' was running .. 
Settings and open project list imported from NB 8.2 - which works like a charm ;-)
Very High CPU usage for > 1 hour, CPU cooling fan on constantly.
See enclosed screenshot.
I updated netbeans.conf to include '-J-Xms1g'  for a second startup, did not seem to make any difference.

Adding '-J-Xmx16g' apparently improved things dramatically - the third startup shows no errors.

Removing '-J-Xmx16g' apparently makes things worse again .. back to a long running Background scanning of projects, and some Low memory errors are now kicking in ..

Restoring '-J-Xmx16g' apparently fixes the issue, project opening and background scanning completed 50 seconds after launch.

Hardware is a recent Lenovo laptop with 32Gb  RAM and i7-7820HQ CPU
OS is up to date 64 bit Windows 10 Enterprise.
Copy Paste from NB About:
Product Version: Apache NetBeans IDE 10.0 (Build incubator-netbeans-release-380-on-20181217) 
Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11 
Runtime: Java(TM) SE Runtime Environment 9.0.1+11 
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) 
User directory: C:\Users\pjl\AppData\Roaming\NetBeans\10.0 
Cache directory: C:\Users\pjl\AppData\Local\NetBeans\Cache\10.0 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists