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 179388 - HeapDump seems to give a unusable Netbinox IDE
Summary: HeapDump seems to give a unusable Netbinox IDE
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Netigso (show other bugs)
Version: 6.x
Hardware: Other Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-11 08:44 UTC by bobuse
Modified: 2010-01-27 09:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file before freeze (30.35 KB, text/x-log)
2010-01-11 08:54 UTC, bobuse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bobuse 2010-01-11 08:44:30 UTC
Hello,

When we try to start the Netbinox IDE with our project. We got very quickly this message on output:
java.lang.OutOfMemoryError: PermGen space
Dumping heap to .netbinox/dev/var/log/heapdump.hprof ...
Heap dump file created [57065608 bytes in 0.905 secs]
Java HotSpot(TM) Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal SIGTERM to handler- the VM may need to be forcibly terminated

Then netbinox is frozen, slows our system and requires kill -9. I've attached the messages.log.

Our fix is to remove these options in file dist/netbeans/platform11/lib/nbexec:
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=.netbinox/dev/var/log/heapdump.hprof

We're working on netbinox built from hg repository sources.
Comment 1 bobuse 2010-01-11 08:54:24 UTC
Created attachment 93189 [details]
log file before freeze
Comment 2 bobuse 2010-01-11 09:03:20 UTC
You can reproduce easily this issue if you checkout our project:
svn co http://svn.simexplorer.org/SimExplorer/trunk/simexplorer-ide
cd simexplorer-ide
# retrieve needed deps for building a cluster
mvn package

Run Netbinox, open the project simexplorer-ide/simexplorer-ide-ant and its two children modules. Invoke clean and build all on the suite, try to open some java files, and the error occurs.
Comment 3 bobuse 2010-01-12 04:34:22 UTC
I am not sure that it is right to set the version to 6.7 and the Target to 6.8 ?
Comment 4 Jaroslav Tulach 2010-01-27 07:46:38 UTC
The netbinox IDE has too little memory and permanent space. This can be changed in etc/netbeans.conf. I'll see whather I know how to change the defaults.
Comment 5 Jaroslav Tulach 2010-01-27 08:06:01 UTC
Fixed in core-main#179388 and in http://source.apidesign.org/hg/netbinox/rev/18f60fb006d3
Comment 6 Jesse Glick 2010-01-27 09:26:41 UTC
(In reply to comment #5)
> Fixed in core-main#179388

You mean: core-main #9f10d5cbc0aa