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 210050 - jvm Creation failed at neatbeans 7.1.1 start up
Summary: jvm Creation failed at neatbeans 7.1.1 start up
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 7.1.1
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-24 23:48 UTC by rider453
Modified: 2012-04-22 17:58 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The log file after editing netbeans.conf (38.24 KB, text/plain)
2012-04-19 03:43 UTC, ytch
Details
runs without "JVM creation failed" error (1.55 KB, application/octet-stream)
2012-04-19 03:44 UTC, ytch
Details
netbeans.conf (1.55 KB, application/octet-stream)
2012-04-19 03:50 UTC, ytch
Details
messages.log (38.24 KB, application/octet-stream)
2012-04-19 03:51 UTC, ytch
Details
message.log (38.24 KB, text/plain)
2012-04-19 03:53 UTC, ytch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rider453 2012-03-24 23:48:31 UTC
Hello,  neatbeans developers.
The bug description, is that  i installed neatbeans in windows 7(x64), 4 GB ram and 640 hard disk space, i'm using jdk7, at first time the ide  start up very well;
but after a time(that was  for about 1 month).The the start up of the ide was not so well
because of jvm creation failed.
Note: When the ide starts up, before "jvm creation failed", the progress of the splash screen seems sometimes low or fast; and then jvm creation failed seemed at ide start up.
Comment 1 Marian Mirilovic 2012-03-26 08:27:14 UTC
Could you please attach log file into this issue and reopen ? Thanks in advance.
Comment 2 guiguidu31300 2012-03-26 15:44:46 UTC
I have the same problem with the same computer's configuration.
Comment 3 nasir8891 2012-04-08 08:35:48 UTC
I have the same problem with the similar configuration laptop (windows 7(x64), 4 GB ram, jdk7).
Comment 4 Marian Mirilovic 2012-04-11 08:15:55 UTC
As I already said, without log file we can't do anything - sorry.
Comment 5 GustavoAMG 2012-04-18 04:21:00 UTC
I'm having the same problem on Windows 7 (x64), JDK 7.0_03, CPU Core i5, 3G RAM.

Please help me to find where the logs are located.

Thanks.

(In reply to comment #4)
> As I already said, without log file we can't do anything - sorry.
Comment 6 cmonger 2012-04-19 03:05:50 UTC
Which log file do you need?
Comment 7 ytch 2012-04-19 03:43:52 UTC
Created attachment 118477 [details]
The log file after editing netbeans.conf
Comment 8 ytch 2012-04-19 03:44:53 UTC
Created attachment 118478 [details]
runs without "JVM creation failed" error
Comment 9 ytch 2012-04-19 03:47:59 UTC
There is no log file created with "JVM creation fail" error.
If I run netbeans from command line, it shows:

The launcher has determined that the parent process has a console and will reu
 it for its own console output.
Closing the console will result in termination of the running program.
Use '--console suppress' to suppress console output.
Use '--console new' to create a separate console window.
Error occurred during initialization of VM
Could not reserve enough space for object heap

Then I modify etc/netbeans.conf as the attach file "The log file after editing netbeans.conf", which add -J-Xmx512m in netbeans_default_options, netbeans can finally run smoothly, and the log files "runs without "JVM creation failed" error" finally shows.
Comment 10 ytch 2012-04-19 03:50:55 UTC
Created attachment 118479 [details]
netbeans.conf
Comment 11 ytch 2012-04-19 03:51:22 UTC
Created attachment 118480 [details]
messages.log
Comment 12 ytch 2012-04-19 03:52:49 UTC
Sorry for flood,
The log file is messages.log, 
and the conf file I've modified is netbeans.conf.
Comment 13 ytch 2012-04-19 03:53:34 UTC
Created attachment 118481 [details]
message.log
Comment 14 Libor Fischmeistr 2012-04-19 14:01:00 UTC
It seems that all of these crashes are caused by lack of memory. Maybe you've noticed we have new launchers for upcoming NB version and these are handling with memory quite other way. So it would be very useful for as if you were able to try them and report us if your problem has disappeared.

How to try new launchers - download NB nightly build (http://bits.netbeans.org/download/trunk/nightly/latest/) and install it. Do not modify netbeans.conf

I believe and hope the new version will help you to tackle with your problems.

Thank you
Comment 15 ytch 2012-04-20 08:04:04 UTC
Hi,

I've tried nightly build 201204090400,and this problem doesn't appear, seems like the nightly version has resolved this problem.
Comment 16 Libor Fischmeistr 2012-04-20 08:27:48 UTC
(In reply to comment #15)
> Hi,
> 
> I've tried nightly build 201204090400,and this problem doesn't appear, seems
> like the nightly version has resolved this problem.

Great, it work as expected. Thank you very much for trying and evaluation of that fix.
Comment 17 rider453 2012-04-22 17:58:28 UTC
(In reply to comment #5)
> I'm having the same problem on Windows 7 (x64), JDK 7.0_03, CPU Core i5, 3G
> RAM.
> 
> Please help me to find where the logs are located.
> 
> Thanks.
> 
> (In reply to comment #4)
> > As I already said, without log file we can't do anything - sorry.

the logs are located  where you installed neatbeans, that is to say; if you
installed it in c:program files(x86), open neatbeans folder installation and go to
the etc.folder , by then attach logs files(neatbeans.conf and messagelog).