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.
The first line of log is awk error when I start dev version of netbans: ./netbeans awk: can't open /version/ {print substr($2, 1, 3)} ------------------------------------------------------------------------------- >Log Session: Tuesday, May 13, 2014 5:58:56 PM MSK >System Info: Product Version = NetBeans IDE Dev (Build 20140513-a0af7b0d8137) (#a0af7b0d8137) Operating System = SunOS version 5.11 running on x86 Java; VM; Vendor = 1.7.0_55; Java HotSpot(TM) Client VM 24.55-b03; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.7.0_55-b13
It seems script uses "gawk" command line syntax instead of "awk".
regression after fixing bug #243569
(In reply to Alexander Simon from comment #2) > regression after fixing bug #243569 Yes that's right. Unfortunately that fix was not tested on Solaris...
Also script miss -XX:MaxPermSize=384m for java 1.7. It results in OOM. (Probably it is consequence of the awk error)
Please, fix this, because now NB crashes on Solaris with PermGen OOM
I'm going to fix it immediately. The workaround should work for now. Run netbeans with -J-XX:PermSize=32m -J-XX:MaxPermSize=384m arguments.
Fixed - http://hg.netbeans.org/core-main/rev/8302ac787574 Please verify the fix. Thanks
Integrated into 'main-silver', will be available in build *201405170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8302ac787574 User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #244467: netbeans script uses unsupported syntax of awk and crashes with PermGen OOM on Solaris
Thanks, it works on Solaris.