Hi Sri,

It looks like the heap is running out of memory during complication.
You need to increase the heap size with some JVM arguments.  "-
XX:PermSize=64M" will set the heap size to 64MB and "-
XX:MaxPermSize=256M" will set the maximum heap size to 256MB. Hope
that helps.

Regards,
Arthur Kalmenson

On Sep 20, 1:27 am, sri <[EMAIL PROTECTED]> wrote:
> hi,
>
> I tried to execute Pgr-example provided in the link. But it doesn't
> execute properly using "ant".
>
> This is the error I got while trying to compile.
>
> C:\ant\PGR>ant -buildfile build.xml run
> Buildfile: build.xml
>
> clean:
>
> build:
>
> gwt-compile:
>      [java] Exception in thread "main" java.lang.OutOfMemoryError:
> Java heap spa
> ce
>      [java]     at java.util.Arrays.copyOf(Arrays.java:2760)
>      [java]     at java.util.Arrays.copyOf(Arrays.java:2734)
>      [java]     at java.util.ArrayList.ensureCapacity(ArrayList.java:
> 167)
>      [java]     at java.util.ArrayList.add(ArrayList.java:351)
>      [java]     at java.util.regex.Pattern.split(Pattern.java:1003)
>      [java]     at java.util.regex.Pattern.split(Pattern.java:1059)
>      [java]     at
> com.google.gwt.dev.javac.TypeOracleMediator.parseMetaDataTags
> (TypeOracleMediator.java:172)
>      [java]     at
> com.google.gwt.dev.javac.TypeOracleMediator.resolveMethod(Typ
> eOracleMediator.java:1031)
>      [java]     at
> com.google.gwt.dev.javac.TypeOracleMediator.resolveMethods(Ty
> peOracleMediator.java:1044)
>      [java]     at
> com.google.gwt.dev.javac.TypeOracleMediator.resolveTypeDeclar
> ation(TypeOracleMediator.java:1434)
>      [java]     at
> com.google.gwt.dev.javac.TypeOracleMediator.refresh(TypeOracl
> eMediator.java:382)
>      [java]     at
> com.google.gwt.dev.javac.CompilationState.compile(Compilation
> State.java:102)
>      [java]     at
> com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:327)
>      [java]     at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:
> 564)
>      [java]     at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:
> 554)
>      [java]     at
> com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)
>
> BUILD FAILED
> C:\ant\PGR\build.xml:16: The following error occurred while executing
> this line:
>
> C:\ant\PGR\build.xml:40: Java returned: 1
>
> Total time: 1 minute 18 seconds
>
> On Sep 19, 11:30 pm, "Jeremiah Elliott" <[EMAIL PROTECTED]> wrote:
>
> > have you taken a look at this?http://code.google.com/p/python-gwt-rpc/
>
> > On Fri, Sep 19, 2008 at 5:34 AM, ajay jetti <[EMAIL PROTECTED]>wrote:
>
> > > Hi Sri
> > > Even im facing the same problem
> > > Please sombody post- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to