Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

import com.google.gwt.maps.client.MapWidget #71

Closed
GoogleCodeExporter opened this issue Sep 10, 2015 · 2 comments
Closed

import com.google.gwt.maps.client.MapWidget #71

GoogleCodeExporter opened this issue Sep 10, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Found in Release: 1.0.0

Detailed description:I have a running 1.4.60 (windows) gwt application run
through maven plugin, The minute I import
com.google.gwt.maps.client.MapWidget into my class and then compile, I get
the following error:

****************************************************
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.
java:99)
        at
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:393)
        at java.lang.StringBuffer.append(StringBuffer.java:225)
        at java.io.StringWriter.write(StringWriter.java:90)
        at java.io.PrintWriter.write(PrintWriter.java:384)
        at java.io.PrintWriter.write(PrintWriter.java:401)
        at java.io.PrintWriter.print(PrintWriter.java:532)
        at java.io.PrintWriter.println(PrintWriter.java:669)
        at java.lang.Throwable.printStackTrace(Throwable.java:513)
        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.ja
va:74)
        at
com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile(AbstractCompiler.ja
va: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.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(We
bModeCompilerFrontEnd.java:65)
        at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.<init>(JavaToJavaScriptCompiler.
java:248)
        at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:329)
        at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:755)
        at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:745)
        at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:213)
**************************************************************

I have MAVEN_OPTS=-Xmx512m.  The error is consistence.  The minute I remove
the import statement, it compiles OK.

Workaround if you have one:
none

Links to the relevant GWT Developer Forum posts:
none

Original issue reported on code.google.com by yazan.su...@gmail.com on 25 Jan 2008 at 9:56

@GoogleCodeExporter
Copy link
Author

The above problem occurs only when I import net.mygwt.ui.client.widget too.  So 
it
seems like there is a (conflict - not sure if this is the right word to use) 
between
the two.  i will open a new issue with the mygwt guys. 

Original comment by yazan.su...@gmail.com on 25 Jan 2008 at 11:59

@GoogleCodeExporter
Copy link
Author

It looks like you are getting an out of memory error.  You should try to use 
-Xmx jvm
flag.  I would try -Xmx256m.  That will give you 256 megs of heap space and it 
should
resolve the problem.

I'm closing this out since it does not appear to be related specifically to 
this library.

Original comment by mmendez+personal@google.com on 7 Mar 2008 at 4:11

  • Changed state: NotPlanned

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant