Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » What does XX:MaxPermSize=690M mean in Eclipse.ini ?
What does XX:MaxPermSize=690M mean in Eclipse.ini ? [message #646327] Thu, 23 December 2010 11:22 Go to next message
Ben StoverFriend
Messages: 108
Registered: January 2010
Senior Member
In Eclipse.ini there is a parameter:

XX:MaxPermSize=690M

What exactly does it mean?
What are the best values?
Which errors do i get when the value is too low?
Are they dependent from the physical memory size?
Are they dependent from 32bit or 64bit version?

Ben
Re: What does XX:MaxPermSize=690M mean in Eclipse.ini ? [message #646357 is a reply to message #646327] Thu, 23 December 2010 13:24 Go to previous messageGo to next message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
Registered: July 2009
Senior Member
On 12/23/2010 4:52 PM, Ben wrote:
> In Eclipse.ini there is a parameter:
>
> XX:MaxPermSize=690M
>
> What exactly does it mean?
> What are the best values?
> Which errors do i get when the value is too low?
> Are they dependent from the physical memory size?
> Are they dependent from 32bit or 64bit version?
>
> Ben
http://wiki.eclipse.org/FAQ_How_do_I_increase_the_permgen_si ze_available_to_Eclipse%3F
Re: What does XX:MaxPermSize=690M mean in Eclipse.ini ? [message #646993 is a reply to message #646357] Mon, 03 January 2011 22:09 Go to previous messageGo to next message
Ben StoverFriend
Messages: 108
Registered: January 2010
Senior Member
Ok, this page explains how to pass the variable to Eclipse/JVM.

but it does NOT explain what the meaning is and what are suitable arguments at all?

Does the optimal MaxPermSize depend from the avaiable Memory or 32bit/64bit or intended prgm allocations....

Ben
Re: What does XX:MaxPermSize=690M mean in Eclipse.ini ? [message #646998 is a reply to message #646993] Mon, 03 January 2011 22:14 Go to previous messageGo to next message
Stanimir Stamenkov is currently offline Stanimir StamenkovFriend
Messages: 256
Registered: July 2009
Senior Member
Mon, 03 Jan 2011 17:09:08 -0500, /Ben/:

> Ok, this page explains how to pass the variable to Eclipse/JVM.
>
> but it does NOT explain what the meaning is and what are suitable
> arguments at all?
>
> Does the optimal MaxPermSize depend from the avaiable Memory or
> 32bit/64bit or intended prgm allocations....

I really like that one:

http://lmgtfy.com/?q=XX%3AMaxPermSize

--
Stanimir
Re: What does XX:MaxPermSize=690M mean in Eclipse.ini ? [message #647020 is a reply to message #646993] Tue, 04 January 2011 04:53 Go to previous messageGo to next message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
Registered: July 2009
Senior Member
On 1/4/2011 3:39 AM, Ben wrote:
> Ok, this page explains how to pass the variable to Eclipse/JVM.
>
> but it does NOT explain what the meaning is and what are suitable
> arguments at all?
>
> Does the optimal MaxPermSize depend from the avaiable Memory or
> 32bit/64bit or intended prgm allocations....
>
> Ben
The second line there says: "PermGen is the permanent generation of
objects in the VM (Class names, internalized strings, objects that will
never get garbage-collected)"

What more do you need ?
Re: What does XX:MaxPermSize=690M mean in Eclipse.ini ? [message #647046 is a reply to message #647020] Tue, 04 January 2011 10:32 Go to previous messageGo to next message
Ben StoverFriend
Messages: 108
Registered: January 2010
Senior Member
So ok, what is the difference between specifying

--launcher.XXmaxPermSize
256m

and

-vmargs
-XX:MaxPermSize=690M

in eclipse.ini?
Re: What does XX:MaxPermSize=690M mean in Eclipse.ini ? [message #647052 is a reply to message #647046] Tue, 04 January 2011 11:06 Go to previous message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
Registered: July 2009
Senior Member
On 1/4/2011 4:02 PM, Ben wrote:
> So ok, what is the difference between specifying
>
> --launcher.XXmaxPermSize
> 256m
>
> and
>
> -vmargs
> -XX:MaxPermSize=690M
>
> in eclipse.ini?
Are you sure that you read through
http://wiki.eclipse.org/FAQ_How_do_I_increase_the_permgen_si ze_available_to_Eclipse%3F
?

It very clearly states
"With the above arguments, if the VM being used is a Sun VM and there is
not already a -XX:MaxPermSize= VM argument, then the launcher will
automatically add -XX:MaxPermSize=256m to the list of VM arguments being
used. The 3.3 launcher is only capable of identifying Sun VMs on Windows.

The option --launcher.XXMaxPermSize is something that the launcher reads
(not the JVM); it tells the launcher to automatically size the JVM's
perm gen if it (the launcher) detects a Sun JVM that supports that
option. This alleviates the need to put it under -vmargs (where non-Sun
JVM's could fail because they don't understand that option)."
Previous Topic:Comment lines in eclipse.ini? Change from Eclipse GUI possible?
Next Topic:Upgrading from 3.5.2 to 3.6
Goto Forum:
  


Current Time: Fri Apr 26 04:19:52 GMT 2024

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

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

Back to the top