Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse is not starting properly.... (Errors while starting eclipse..)
Eclipse is not starting properly.... [message #511645] Tue, 02 February 2010 06:39 Go to next message
Eclipse UserFriend
Hello All,,

I am using the following command to start the eclipse in command line..

eclipse.exe -vmargs -Xmx700M -XX:PermSize=512M -XX:MaxPermSize=1024M

But an Error message is coming, saying that "Could not create the Java virtual machine". What i have needed is just to configure the Eclpise with the mentioned VM arguments.

Please be kind enough to share any thoughts on this..
Thanking in advance.
Dha
Re: Eclipse is not starting properly.... [message #511752 is a reply to message #511645] Tue, 02 February 2010 12:49 Go to previous messageGo to next message
Eclipse UserFriend
On 2/2/2010 6:39 AM, dhammikas wrote:
> Hello All,,
>
> I am using the following command to start the eclipse in command line..
> eclipse.exe -vmargs -Xmx700M -XX:PermSize=512M -XX:MaxPermSize=1024M
>
> But an Error message is coming, saying that "Could not create the Java
> virtual machine". What i have needed is just to configure the Eclpise
> with the mentioned VM arguments.
> Please be kind enough to share any thoughts on this.. Thanking in
> advance. Dha

Are you certain tat "-XX:PermSize" is a valid VM argument? Typically
the VM just exists on unknown arguments.

--
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
Re: Eclipse is not starting properly.... [message #511815 is a reply to message #511752] Tue, 02 February 2010 22:50 Go to previous messageGo to next message
Eclipse UserFriend
Dear Nitin Dahyabhai,

Thnkx for commenting and yes, i am sure that it is a valid VM arg.
Instead of the command line, I tried the same configurations with the eclipse.ini as well, but it gives out the exact same error message saying that "Could not create the Java virtual machine". My eclipse.ini was as follows.

-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024M
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vm
C:\Program Files\Java\jdk1.6.0_11\bin\javaw.exe
-vmargs
-Xms256m
-Xmx700m
-XX:PermSize=256m
-XX:MaxPermSize=1024m
-Djava.net.preferIPv4Stack=true

Please help to get rid of this erroneous situation on Eclipse.

Thanking in advance.
Dha
Re: Eclipse is not starting properly.... [message #511825 is a reply to message #511815] Tue, 02 February 2010 20:48 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I think Nitin is right, there is no such VM option as -XX:PermSize.
I've just checked at the Sun site and could only find -XX:MaxPermSize.

So I suggest to remove -XX:PermSize and check if that fixes your problem!

Cheers,

Laca

On 2010.02.03. 4:50, dhammikas wrote:
> Dear Nitin Dahyabhai,
> Thnkx for commenting and yes, i am sure that it is a valid VM arg.
> Instead of the command line, I tried the same configurations with the
> eclipse.ini as well, but it gives out the exact same error message
> saying that "Could not create the Java virtual machine". My eclipse.ini
> was as follows.
>
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 1024M
> -framework
> plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
> -vm
> C:\Program Files\Java\jdk1.6.0_11\bin\javaw.exe
> -vmargs
> -Xms256m
> -Xmx700m
> -XX:PermSize=256m
> -XX:MaxPermSize=1024m
> -Djava.net.preferIPv4Stack=true
>
> Please help to get rid of this erroneous situation on Eclipse.
> Thanking in advance.
> Dha
Re: Eclipse is not starting properly.... [message #511828 is a reply to message #511645] Wed, 03 February 2010 01:58 Go to previous message
Eclipse UserFriend
dhammikas wrote:
> Hello All,,
>
> I am using the following command to start the eclipse in command line..
> eclipse.exe -vmargs -Xmx700M -XX:PermSize=512M -XX:MaxPermSize=1024M
>
> But an Error message is coming, saying that "Could not create the Java
> virtual machine". What i have needed is just to configure the Eclpise
> with the mentioned VM arguments.
> Please be kind enough to share any thoughts on this.. Thanking in
> advance. Dha

Generally you want your heap size to be larger than your perm size; and 1G is
*huge* for perm size, I would be very surprised if you really need it to be that
big; 384M should be plenty.
Previous Topic:References to non-existing library
Next Topic:quick-fix background & click-able link color
Goto Forum:
  


Current Time: Sat Mar 15 10:06:30 EDT 2025

Powered by FUDForum. Page generated in 0.04868 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top