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.

View | Details | Raw Unified | Return to bug 188283
Collapse All | Expand All

(-)netbeans-platform-6.9/o.n.bootstrap/launcher/unix/nbexec (-1 / +1 lines)
Lines 192-198 Link Here
192
fi
192
fi
193
193
194
# if heap dump on OOME is supported enable it
194
# if heap dump on OOME is supported enable it
195
if "${jdkhome}/bin/java" -XX:+HeapDumpOnOutOfMemoryError > /dev/null 2>&1 ; then
195
if "${jdkhome}/bin/java" -XX:+HeapDumpOnOutOfMemoryError &> /dev/null 2>&1 ; then
196
   jargs="$jargs -XX:+HeapDumpOnOutOfMemoryError"
196
   jargs="$jargs -XX:+HeapDumpOnOutOfMemoryError"
197
   if echo $jargs | grep -v -- "-XX:HeapDumpPath=" > /dev/null ; then
197
   if echo $jargs | grep -v -- "-XX:HeapDumpPath=" > /dev/null ; then
198
      jargs="$jargs -XX:HeapDumpPath=\"${userdir}/var/log/heapdump.hprof\""
198
      jargs="$jargs -XX:HeapDumpPath=\"${userdir}/var/log/heapdump.hprof\""

Return to bug 188283