Keep getting:"out of memory" when refreshing?

126 views
Skip to first unread message

Alex Luya

unread,
Aug 7, 2012, 3:31:46 AM8/7/12
to google-we...@googlegroups.com
And most of time it is thrown out by statement:initWidget(uiBinder.createAndBindUi(this)),
but not specific for special class,seems randomly.Generally,this will comes up after refreshing 3 or 4 times,then I must kill jvm then restart;
After upgrade to 2.5 rc1,it will comes up after second time refreshing even first time.And it only happens on refreshing.
   Can anyone give some suggestions to solve this problem?Thanks. 

Jens

unread,
Aug 7, 2012, 4:20:36 AM8/7/12
to google-we...@googlegroups.com
Increase your heap space and/or PermGen space for DevMode. I am currently working with: -Xmx1512m -XX:MaxPermSize=1024m . The PermSize is that high because DevMode tends to have a ClassLoader Leak and does not throw away old classes loaded by a different browser session (at least for me, maybe its because of GIN which uses Guice).

-- J.

Ashton Thomas

unread,
Aug 10, 2012, 8:24:10 AM8/10/12
to google-we...@googlegroups.com
Thanks, Jens. This worked for me after having memory issues post 2.5rc1 update
Reply all
Reply to author
Forward
0 new messages