never mind, this time increasing the memory a bit actually worked - Xmx512m. I am suprised this takes so much more memory than before but then maybe I was at the threshold before. A few months ago, that didn't seem to help at all.
On Oct 2, 9:00 pm, deanhiller <[EMAIL PROTECTED]> wrote: > Every few months, I have been trying to upgrade. Every time, I end up > with OutOfMemoryErrors either during compile or during running the > shell. I have seen lots of posts on these issues. I keep downgrading > to 1.4 and not being able to upgrade because of these issues. I can't > trim down the test case, BUT I could zip up my code if there was a > developer who could work with me on fixing the problem. I would give > you whatever time you need. I think many run into this issue if I am > not mistaken. My colleague ran into it on another project as well. > > I ported gwtmocklib(http://mocklib.sourceforge.net) to 1.5 just a > minute ago BUT then ported a project using gwtmocklib to 1.5 and > started seeing this OutOfMemory again. Is there anyone that can help > me on this issue? > > On 1.4 GWT this worked fine. On 1.5.2, I get this(in the hosted > browser logs).... > > [ERROR] Failure to load module 'biz.xsoftware.projectsvc.ProjectSvc' > 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.util.Messages.initializeMessages(Messages.java: > 207) > at > org.eclipse.jdt.internal.compiler.util.Messages.<clinit>(Messages.java: > 115) > at > org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java: > 465) > 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) > > thanks, > Dean --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
