Hi James,

1) all the other -XX options seem to use syntax like -XX:PermSize=256m

... Unless I made a typo in the bug report, "-XX:PermSize=256m" is
indeed the correct syntax.

2) is anyone really using XX:PermSize?  Google only found it mentioned 3
times.

... Oh absolutely, this option is more common than you think.  Not sure
what you googled, but when I searched for "XX:PermSize", I found over
14,000 hits!

3) these -XX options are described as "not stable" and ... subject to change 
without notice.
http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp

... Unfortunate that their (somewhat outdated) docs state that, but
regardless, this particular option has not changed and is very necessary
to get applications using modern libraries such as the Spring Framework
or Hibernate to operate for long running applications (such as web
server applications).

4) Does using "=256m" allow the JVM to start up for you?

... when I remove the "-XX:PermSize" and the "-XX:MaxPermSize" options,
then the java virtual machine (jvm) does indeed startup.  However, the
lack of these options in place will eventually lead to the early demise
(aka: out of memory error) of any large application that performs a lot
of classloading (hence the need for setting the permanent generation to
a larger setting than the default if not specified ... which I believe
is 64 megabytes ... much too small).  This leaves anyone trying to use
modern java (jdk1.6) on ubuntu without the ability to run large
applications.

Regards,

- Frank



James Stansell wrote:
> I hate to discourage anyone from reporting a bug, but this doesn't look
> like a bug to me.
>
> 1) all the other -XX options seem to use syntax like -XX:PermSize=256m
>
> 2) is anyone really using XX:PermSize?  Google only found it mentioned 3
> times.
>
> 3) these -XX options are described as "not stable" and ... subject to change 
> without notice.
> http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
>
> Does using "=256m" allow the JVM to start up for you?
>
> Sincerely,
>
> -james.
>
>   


-- 
****************************
Frank T. Villarreal, Jr.
Sr. Software Developer
Tetco, Inc.
ph - 1 (210) 821-5900 x325
em - [EMAIL PROTECTED]
****************************



The information contained in this e-mail is confidential and is intended only 
for the use of the individual  
or entity to which it is addressed. Dissemination, distribution, copying or use 
of this e-mail is strictly prohibited.  
If you have received this message in error, please immediately notify the 
sender and delete the message from your system.

** Attachment added: "f_villarreal.vcf"
   http://launchpadlibrarian.net/14013105/f_villarreal.vcf

-- 
Java won't start with PermSize setting
https://bugs.launchpad.net/bugs/223856
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to