gwt Designer problem

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

Re: gwt Designer problem

Postby Eric Clayberg » Sat Apr 05, 2008 12:18 pm

Open the class using the Designer Editor rather than Java Editor (which is what it sounds like you are using).
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: gwt Designer problem

Postby Eric Clayberg » Sat Apr 05, 2008 2:22 pm

No idea. A test case and your Eclipse ".log" file would be helpful.

I am also nit sure what the 3rd "it" is in your description.
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: gwt Designer problem

Postby Eric Clayberg » Sat Apr 05, 2008 2:31 pm

metegs wrote:3rd time I refresh my hosted mode..

Sounds like a good issue for Google's GWT forum.

metegs wrote:it is the subject of java but may be helpfull,
If I write this -> variable = new String[100];
do I have to write anythink like free(); delete(); , etc..
in order to free my memory?

No.
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: gwt Designer problem

Postby Eric Clayberg » Sat Apr 05, 2008 7:23 pm

What exact version/build for Eclipse are you using?

Have you tried increasing the amount of memory assigned to Eclipse.

If you are having a problem launching Google's KitchenSink example, you should post a description of yoru problem in Google's GWT forum.
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: gwt Designer problem

Postby peterblazejewicz » Sun Apr 06, 2008 5:30 am

metegs wrote:the errors I was talking about is:

[ERROR] Failure to load module 'com.google.gwt.sample.kitchensink.KitchenSink'
java.lang.OutOfMemoryError: Java heap space
at java.lang.Throwable.toString(Throwable.java:344)
at java.lang.Throwable.printStackTrace(Throwable.java:509)
at org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java:387)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:348)
at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile(AbstractCompiler.java:74)
at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile(AbstractCompiler.java:162)
at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.access$600(AbstractCompiler.java:61)
at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:430)
at com.google.gwt.dev.jdt.AstCompiler.getCompilationUnitDeclarations(AstCompiler.java:117)
at com.google.gwt.dev.jdt.TypeOracleBuilder.build(TypeOracleBuilder.java:354)


[ERROR] Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M ...)

hi,
if you are running into memory issues when running application from within Eclipse (e.g. from within GWTD project using Run as GWT Application) incrase VM option for memory (-Xmx####). Just open run configuration and switch to Arguments section,

regards,
Peter
Peter Blazejewicz
GWT groups profile
peterblazejewicz
 
Posts: 153
Joined: Fri Jul 27, 2007 7:09 pm
Location: Europe/Poland/Warsaw

Re: gwt Designer problem

Postby Eric Clayberg » Sun Apr 06, 2008 7:19 am

The Designer FAQ offers suggestions on how to increase the memory used by Eclipse.

Also, if you are using any version of Eclipse 3.3.x prior to 3.3.2, you should immediately upgrade to 3.3.2 to avoid known memory usage issues.
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