I don't recognize that stack trace - I see com.google.gwt.dev.shell. GWT has a DevMode server, from what I remember. If it possible for you to compile the code to JavaScript, then run your Selenium tests? It really does look like a GWT issue, but the references to BrowserChannel somewhat unnerve me.
On Mon, Mar 15, 2010 at 6:07 PM, Tristan <[email protected]> wrote: > Sorry, forgot to thank you for responding quickly :) Thanks Ikai. > > On Mar 15, 8:06 pm, Tristan <[email protected]> wrote: >> I think it's a Google App Engine (OutOfMemoryError on Jetty) >> question. >> >> After Selenium RC hits the Dev Mode url about 34 times, I get >> previously mentioned error [ERROR] Out of memory; to increase the >> amount of memory, use the -Xmx flag at startup (java -Xmx128M ...) >> This happens with -Xmx1024M setting. >> >> So is there a way to free up memory after connection is broken? When >> Selenium breaks the connection, DevMode quits with the following >> exception: >> >> 20:02:12.232 [ERROR] [myModule] Remote connection lost >> >> com.google.gwt.dev.shell.BrowserChannel$RemoteDeathError: Remote >> connection lost >> at >> com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java : >> 1683) >> at >> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan >> nelServer.java: >> 401) >> at >> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java : >> 222) >> at java.lang.Thread.run(Thread.java:637) >> Caused by: java.io.EOFException: null >> at java.io.DataInputStream.readByte(DataInputStream.java:250) >> at com.google.gwt.dev.shell.BrowserChannel >> $Message.readMessageType(BrowserChannel.java:1131) >> at >> com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java : >> 1659) >> at >> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan >> nelServer.java: >> 401) >> at >> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java : >> 222) >> at java.lang.Thread.run(Thread.java:637) >> >> So does this cause a memory leak? Then after 34 of these, it finally >> runs out of memory. >> >> Tristan >> >> On Mar 15, 5:13 pm, "Ikai L (Google)" <[email protected]> wrote: >> >> >> >> > Tristan, >> >> > Is this a Google Web Toolkit question or a Google App Engine >> > (OutOfMemoryError on Jetty) question? It sounds like a GWT question, >> > in which case you should ask here: >> >> >http://groups.google.com/group/Google-Web-Toolkit >> >> > On Mon, Mar 15, 2010 at 7:12 AM, Tristan <[email protected]> >> > wrote: >> > > Hi, >> >> > > I have Selenium RC hooked up and automated Selenium tests going using >> > > JUnit. The problem is that after Selenium runs about 34 out of the 43 >> > > stories so far, my module complains that it is out of memory: [ERROR] >> > > Out of memory; to increase the amount of memory, use the -Xmx flag at >> > > startup (java -Xmx128M ...) >> >> > > Every time a Selenium test case is run, it opens a new Safari window >> > > and loads the page. I can see on the server (via eclipse) that it is >> > > rebinding my RPC services every time, which is normal as far as I can >> > > tell. And around 34 tests, during this rebinding, it gives me the >> > > above out of memory error. >> >> > > I already have the server memory set to -Xmx1024M... so that shouldn't >> > > be an issue.. is there a problem (ie memory leak) with DevMode? Or am >> > > I missing some parameter somewhere? >> >> > > Tristan >> >> > > -- >> > > You received this message because you are subscribed to the Google >> > > Groups "Google App Engine for Java" 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 >> > > athttp://groups.google.com/group/google-appengine-java?hl=en. >> >> > -- >> > Ikai Lan >> > Developer Programs Engineer, Google App >> > Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" 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-appengine-java?hl=en. > > -- Ikai Lan Developer Programs Engineer, Google App Engine http://googleappengine.blogspot.com | http://twitter.com/app_engine -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-appengine-java?hl=en.
