OutOfMemoryError

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

OutOfMemoryError

Postby alex.d » Thu Jul 03, 2008 5:29 am

Since my application getting bigger, i'm encounting OutOfMemoryError when both: deploying and running as compiled application. I already have my Xmx512m-parameter in my eclipse.ini(and i had it up to 1024m just for fun) but it shows no effect over the ammount of memory gwt-compiler can use. While it is easy to solve the problem when deploying, by setting the maxmemory-parameter(build.xml) to 512m,
Code: Select all
   <target name="gwt-compile" description="Compile to JavaScript">
      <java classname="com.google.gwt.dev.GWTCompiler" fork="yes" failonerror="true" maxmemory="512m">

i don't know where to find this parameter when runing as compiled application.
alex.d
 
Posts: 35
Joined: Mon Jun 02, 2008 4:46 am

Re: OutOfMemoryError

Postby Eric Clayberg » Thu Jul 03, 2008 6:35 am

Did you try setting the amount of memory needed in the launch configurtion dialog?

Image
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: OutOfMemoryError

Postby alex.d » Thu Jul 03, 2008 7:05 am

:oops: :oops: :oops:
some times that's the most obvious places you forget to look in... Thx.
alex.d
 
Posts: 35
Joined: Mon Jun 02, 2008 4:46 am

Re: OutOfMemoryError

Postby Eric Clayberg » Thu Jul 03, 2008 2:30 pm

No problem. ;-)
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests