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 62434 - Cannot start the IDE: OutOfMemory error
Summary: Cannot start the IDE: OutOfMemory error
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: issues@platform
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-08-17 00:01 UTC by _ gsporar
Modified: 2008-12-22 18:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
config. file (642 bytes, text/plain)
2005-08-17 00:02 UTC, _ gsporar
Details
message log (19.75 KB, text/plain)
2005-08-17 00:02 UTC, _ gsporar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gsporar 2005-08-17 00:01:53 UTC
I'm seeing a really odd problem: the IDE splash screen is displayed when I start
NB 4.1 and then it disappears.  Unfortunately, the IDE itself never appears,
which seems to me qualifies this problem as a P1.  

The application does not exit.  By looking at the Windows task manager I can see
that the application is still running.  

The last time that I was able to successfully run the IDE I shut it down
normally, with only one project open.

I have attached the log file and my netbeans.conf file.
Comment 1 _ gsporar 2005-08-17 00:02:26 UTC
Created attachment 23964 [details]
config. file
Comment 2 _ gsporar 2005-08-17 00:02:56 UTC
Created attachment 23965 [details]
message log
Comment 3 Marian Mirilovic 2005-08-17 09:32:44 UTC
If I can ask, what is your HW configuration ? 
Did you been running any other applications during the time when OOME rised?
Comment 4 _ gsporar 2005-08-17 14:43:14 UTC
The HW configuration is a Fujitsu LifeBook 7010D, with 1.25GB of RAM and an 80GB
hard disk.

The first time I ran into this problem there were other applications running:
Firefox, Thunderbird, and StarOffice.  I then rebooted the system and tried to
just run NB 4.1 and the problem happened again.

I was hoping someone might spot some sort of clue in the stack trace to give me
an idea of what I could change to get back to where I can run NB again.  But I'm
going to go ahead and un-install and then re-install.
Comment 5 Antonin Nebuzelsky 2005-08-22 15:09:29 UTC
Interesting. I never saw "java.lang.OutOfMemoryError: unable to create new
native thread" before. Must be a problem specific to your Win XP installation.
The system is out of resources for thread creation for some reason.

Are you able to run some other large Java application at the moment you see this
problem in Netbeans? If so, and if other applications (non-Java) don't have any
problems, then this might be JDK 1.5.0_04 bug.
Comment 6 Antonin Nebuzelsky 2005-08-22 15:35:00 UTC
I meant of course:

..if NO, and if other applications (non-Java) don't have any
problems, then this might be JDK 1.5.0_04 bug.
Comment 7 Antonin Nebuzelsky 2005-08-30 12:22:58 UTC
BTW, why do you set 20MB size of thread stack??? I did not notice that before.
This must be the cause of the problem. Remove -J-Xss20m from your netbeans.conf.

Feel free to reopen if you encounter this problem also with the default
netbeans.conf settings.
Comment 8 _ gsporar 2005-09-05 23:00:05 UTC
Just FYI, I had boosted the stack size in a desperate attempt to work around
this problem: http://www.netbeans.org/issues/show_bug.cgi?id=62167

It didn't work, but I forgot to remove the Xss20m from my .conf file.

Removing it does make a difference, so that must have been the cause of the
problem here.