Unable to set PermSize in application.conf with Play 1.1

126 views
Skip to first unread message

wyz

unread,
Dec 14, 2010, 7:29:36 PM12/14/10
to play-fr...@googlegroups.com
I set my PermSize and MaxPermSize in application.conf like:

jvm.memory=-XX:PermSize=64m -XX:MaxPermSize=256m

And I get the following error message: 
Unrecognized VM option 'PermSize'
Could not create the Java virtual machine.

My environment is Ubuntu 10.10 64bit, Java(TM) SE Runtime Environment (build 1.6.0_22-b04), Play 1.1. I have tried this configuration in Play 1.0 and works fine. May I know possible cause of this issue? Thanks.

Alison Winters

unread,
Dec 14, 2010, 7:57:30 PM12/14/10
to play-framework

wyz

unread,
Dec 14, 2010, 8:05:47 PM12/14/10
to play-fr...@googlegroups.com
Looks like so. Thanks.

Guillaume Bort

unread,
Dec 15, 2010, 4:56:54 AM12/15/10
to play-fr...@googlegroups.com
You can also specify these options at start time using,

play run myApp -XX:PermSize=64m -XX:MaxPermSize=256m

On Wed, Dec 15, 2010 at 2:05 AM, wyz <wangy...@gmail.com> wrote:
> Looks like so. Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
>

--
Guillaume Bort, http://guillaume.bort.fr

For anything work-related, use g...@zenexity.fr; for everything else,
write guillau...@gmail.com

Reply all
Reply to author
Forward
0 new messages