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.
Build: NetBeans IDE Dev (Build 201101250001) VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261 OS: Mac OS X User Comments: adben: scanning a huge project (Liferay portal 6.0.5) source code Stacktrace: java.lang.IllegalArgumentException: committed = 530382848 should be < max = 530186240 at java.lang.management.MemoryUsage.<init>(MemoryUsage.java:145) at sun.management.MemoryImpl.getMemoryUsage0(MemoryImpl.java:0) at sun.management.MemoryImpl.getHeapMemoryUsage(MemoryImpl.java:61) at org.netbeans.modules.parsing.lucene.support.LowMemoryWatcher.isLowMemory(LowMemoryWatcher.java:73) at org.netbeans.modules.java.source.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:131) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:201)
Created attachment 105366 [details] stacktrace
in my netbeans.conf netbeans_default_options="-J-Xverify:none -J-Dcom.sun.mysql.startcommand=/usr/local/mysql/support-files/mysql-admin.server -J-Dcom.sun.mysql.stopcommand=/usr/local/mysql/support-files/mysql-admin.server -J-Dcom.sun.mysql.startargs=start -J-Dcom.sun.mysql.stopargs=stop -J-Dcom.sun.mysql.port=3306 -J-client -J-Xss32m -J-Xms32m -J-Xmx512m -J-XX:PermSize=32m -J-XX:MaxPermSize=512m -J-Dnetbeans.logger.console=true -J-ea -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled -J-XX:+UseAdaptiveSizePolicy -J-XX:+PrintGCDetails -J-Dswing.aatext=true -J-Dawt.nativeDoubleBuffering=true -J-Dsun.java2d.d3d=false -J-Djava.net.preferIPv4Stack=true -J-Dsun.java2d.opengl=true"
*** Bug 194858 has been marked as a duplicate of this bug. ***
No new reports for a quite some time, probably some transient problem in JDK.
*** Bug 215253 has been marked as a duplicate of this bug. ***
new report from 7.1.2 http://statistics.netbeans.org/exceptions/detail.do?id=190523
... and http://statistics.netbeans.org/exceptions/detail.do?id=190524
*** Bug 215254 has been marked as a duplicate of this bug. ***
12 dups, some of them reported against 7.1.2 (<1year old), leaving opened ... but if you knows about any steps to reproduce, we would highly appreciate if you will share it with us. Thanks in advance.
To the best of my knowledge, this is a JDK bug.
Please reopen if reproducible with JDK 1.7, thanks.