Hi Ariel,
Assuming you're using the GWT4NB plugin for your application, you should
probably try posting up on the GWT4NB support group. There should be a way
to pass more memory to the hosted mode process through the plugin launch
configuration, which is what you'll need to do to get over the
java.lang.OutOfMemoryError block.

GWT4NB Discussion forum:
https://gwt4nb.dev.java.net/servlets/ForumMessageList?forumID=2603

Hope that helps,
-Sumit Chandel

On Fri, May 1, 2009 at 6:45 AM, ariel_ro <[email protected]> wrote:

>
> Hello everybody!
>
> I have a question related to the debugging process of GWT apps.
> Basically when I set a breakpoint at any line in Netbeans IDE a window
> asks me weather I want to launch hosted mode(server-side) or client
> mode. After that, the GWT Development Shell along with a browser
> window appear but the Shell has the following message to display:
>
> [ERROR] Failure to load module 'timetable.Main'
> java.lang.OutOfMemoryError: Java heap space
>        at java.util.Arrays.copyOf(Arrays.java:2882)
>        at java.lang.AbstractStringBuilder.expandCapacity
> (AbstractStringBuilder.java:100)
>        at
> java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:
> 390)
>        at java.lang.StringBuffer.append(StringBuffer.java:224)
>        at
> org.eclipse.jdt.internal.compiler.Compiler.handleInternalException
> (Compiler.java:467)
>        at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
> 411)
>        at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
> 277)
>        at
> com.google.gwt.dev.javac.JdtCompiler.compile(JdtCompiler.java:193)
>        at com.google.gwt.dev.javac.CompilationState.compile
> (CompilationState.java:115)
>        at com.google.gwt.dev.cfg.ModuleDef.updateTypeOracle(ModuleDef.java:
> 477)
>        at
> com.google.gwt.dev.cfg.ModuleDef.getTypeOracle(ModuleDef.java:324)
>        at com.google.gwt.dev.GWTShell
> $BrowserWidgetHostImpl.createModuleSpaceHost(GWTShell.java:252)
>        at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad
> (BrowserWidgetIE6.java:72)
>        at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke
> (BrowserWidgetIE6.java:139)
>        at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
> (IDispatchImpl.java:294)
>        at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
> (IDispatchImpl.java:194)
>        at org.eclipse.swt.internal.ole.win32.COMObject.callback6
> (COMObject.java:117)
>        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
>        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
>        at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
>        at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
>        at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
>        at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)
>
> [ERROR] Out of memory; to increase the amount of memory, use the -Xmx
> flag at startup (java -Xmx128M ...)
>
> I tried many things to increase the memory but none seems to work. Not
> being able to debug my application is a serios drawback for me.
>
> Any help will be highly appreciated!
>
> Thanks in advance,
> Ariel
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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