Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / October 2007

Tip: Looking for answers? Try searching our database.

JVM error (from JDeveloper)

Thread view: 
buu - 24 Oct 2007 20:35 GMT
so, I have an app. servlet+jsp made and already tested in JDeveloper (11),
but now, without any reason, when starting that app (through Jdev), I got an
error:

Oracle Java Compiler 11g

Unable to create an instance of the Java Virtual Machine
Located at path:
d:\JDeveloper11\jdk\jre\bin\client\jvm.dll

and in web browser an error:

Request URI:/myapp/main.jsp

The following exception occurred:
OracleJSP error:oracle.jsp.provider.JspCompileException:
Errors compiling:D:\bshare\ViewController\classes\.jsps\\_main.java
Error occurred during initialization of VM
Could not reserve enough space for object heap
what could cause the problem?I have an win xp sp2 (32bit), all patches
EricF - 25 Oct 2007 04:55 GMT
>so, I have an app. servlet+jsp made and already tested in JDeveloper (11),
>but now, without any reason, when starting that app (through Jdev), I got an
[quoted text clipped - 16 lines]
>Could not reserve enough space for object heap
>what could cause the problem?I have an win xp sp2 (32bit), all patches

Well, you do have a reason. "Could not reserve enough space for object heap."
Take a look at the JVM parameters - specifcally -Xms and -Xmx

Eric
buu - 25 Oct 2007 05:57 GMT
well, nothing changed, but prevously it was working

>>so, I have an app. servlet+jsp made and already tested in JDeveloper (11),
>>but now, without any reason, when starting that app (through Jdev), I got
[quoted text clipped - 23 lines]
>
> Eric
Roedy Green - 25 Oct 2007 08:58 GMT
>well, nothing changed, but prevously it was working

This is a feature of windows.  It is part of a US military experiment
in "torture light".

For those sorts of things:

0. reboot.

1. if that does not work, uninstall anything you recently installed.

2. if that does not work, do an UPDATE reinstall of Windows

3. if that does not work, do a CLEAN reinstall of Windows and
reinstall all your software from scratch.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Roedy Green - 25 Oct 2007 08:53 GMT
>d:\JDeveloper11\jdk\jre\bin\client\jvm.dll

does that file exist?
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Roedy Green - 25 Oct 2007 08:55 GMT
>Errors compiling:D:\bshare\ViewController\classes\.jsps\\_main.java

that looks peculiar with the double \\ and the _ . Normally a class
file begins with a capital letter.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.