You can add jvm.memory=-XX:PermSize=64m -XX:MaxPermSize=256m to
application.conf also
On Jun 24, 11:24 pm, Liu Yongjian <
ggd...@gmail.com> wrote:
> Yes, need to put quotes around -XX:MaxPermSize=256m on Windows
>
>
>
> On Thu, Jun 24, 2010 at 9:36 PM, Julien Tournay <
boudhe...@gmail.com> wrote:
> > I don't think that the Xmx will change anything since it's a permGen
> > problem.
> > Unfortunately, there's probably nothing you can do.
> > Some libraries keep references to the dynamically loaded classes, which is
> > ends up by filling all the permgen space.
> > It's seems to be a well know issue with CGLIB, which is used by hibernate.
>
> > the -XX:MaxPermSize should work though, you should report that bug.
>
> > On Thu, Jun 24, 2010 at 3:16 PM, Romu <
rom...@gmail.com> wrote:
>
> >> try with :
>
> >> -Xms512m -Xmx768m
>
> >> 2010/6/24 Liu Yongjian <
ggd...@gmail.com>
>
> >> *After running a few hours, this problem will come out:*
> >>> *(See in the attached file)*
> >>> *
> >>> *
> >>> *I try to start Play using command: play start [myapp] -Xmx512m
> >>> -XX:MaxPermSize=256m, but it said , *
> >>> *
> >>> *
> >>> *Unrecognized VM option `MaxPermSize` *
> >>> *Could not create the Java virtual machine.*
> >>> *
> >>> *
> >>> *
> >>> *
> >>> *
> >>> *
>
> >>> --
> >>> 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<play-framework%2Bunsubscribe@go
oglegroups.com>
> >>> .
> >>
play-framewor...@googlegroups.com<play-framework%2Bunsubscribe@go
oglegroups.com>
> >> .
> >> For more options, visit this group at
> >>
http://groups.google.com/group/play-framework?hl=en.
>
> > --
> > Real Programmers don't need comments-- the code is obvious.
>
> > --
> > 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<play-framework%2Bunsubscribe@go
oglegroups.com>
> > .