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 161409 - java.io.IOException: java.io.IOException: error=12, Cannot allocate memory
Summary: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory
Status: RESOLVED DUPLICATE of bug 150264
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@ide
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-29 00:24 UTC by mpapis
Modified: 2009-08-26 15:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 148487


Attachments
stacktrace (1.28 KB, text/plain)
2009-03-29 00:25 UTC, mpapis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mpapis 2009-03-29 00:24:51 UTC
Build: NetBeans IDE Dev (Build 200902231810)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Linux, 2.6.27.19-3.2-default, amd64

User Comments:
mpapis: tried to run php program, seems like overall problem with memory, netbeans 6.5.1 was not able to start.

jpapis@jagoda:~> uname -a
Linux jagoda 2.6.27.19-3.2-default #1 SMP 2009-02-25 15:40:44 +0100 x86_64 x86_64 x86_64 GNU/Linux

netbeans used 375MB of ram - checked in system but it showed only 90/168 in the memory window

there was still some memory available in the system



Stacktrace: 
java.io.IOException: Cannot run program "xdg-open": java.io.IOException: error=12, Cannot allocate memory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
        at org.netbeans.modules.extbrowser.NbDefaultUnixBrowserImpl.setURL(NbDefaultUnixBrowserImpl.java:99)
        at org.openide.awt.HtmlBrowser$1URLSetter.run(HtmlBrowser.java:493)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
Comment 1 mpapis 2009-03-29 00:25:02 UTC
Created attachment 79007 [details]
stacktrace
Comment 2 mpapis 2009-03-29 02:29:17 UTC
occurs with many java platforms:
1.5.0-sun
1.6.0-openjdk
1.6.0-sun
1.7.0-icedtea

occurs with many netbeans versions:
6.5-ml-php-linux-Polish
6.5.1-ml-php-linux
6.7_m2-php-linux
trunk-nightly-200903250219-ml-php-linux

it occurs only if there is not enough memory in the system, if it occurs early enough then netbeans just breaks without
notification, if it occures after about 1/3 of startup proces or even after start it hangs whole system, firefox in such
situations just breaks - no system hang 

other problem seams to be wrong memory usage shown (only about half of reported by system)

netbeans reported memory problems only few times per a lot of invocations ...
Comment 3 Petr Jiricka 2009-08-26 15:46:46 UTC
Looks like a duplicate of issue 150264.

*** This issue has been marked as a duplicate of 150264 ***