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.
In netbeans.conf file, no matter "-J-Xmx" is set or is not set, no matter how much memory is set to "-J-Xmx", this parameter is not sent to JVM. My program need around 1.5G memory. I have run is in Netbeans IDE with below mentioned parameter: 1. not set "-J-Xmx"; 2. set "-J-Xmx1024m"; 3. set "-J-Xmx1536m" My program always gets crashed with "GC overhead limit exceeded" or "Java heap space" and jconsole shows the program is limited with memory 1G. Finally I run my program directly in command line with "java -Xmx1536m...", it finished successfully and jconsole shows it need more than 1.3G memory. Product Version = NetBeans IDE 8.0 (Build 201403101706) Operating System = Linux version 3.11.0-20-generic running on amd64 Java; VM; Vendor = 1.7.0_25 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Created attachment 147171 [details] IDE 日志
"My program need around 1.5G memory. I have run is in Netbeans IDE with below mentioned parameter:" should be: "My program need around 1.5G memory. I have run it in Netbeans IDE with below mentioned parameter:"
Please try to run one of the latest daily builds. There were some changes in launchers. If it won't help please reopen and run IDE with --trace launcher_output.log parameter and then attach here the output file.
Sorry, I haven't noticed, that it's related to linux. The --trace argument won't work. Than you could run IDE "$ sh -x netbeans > launcher_output.log"
Created attachment 164233 [details] launcher output log
Actually it happens to me too. Product Version: NetBeans IDE Dev (Build 201704120002) Updates: Updates available Java: 1.8.0_73; Java HotSpot(TM) 64-Bit Server VM 25.73-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_73-b02 System: Windows 10 version 10.0 running on amd64; Cp1252; es_ES (nb)