This thread moved to Google Web Toolkit group:

http://groups.google.com/group/google-web-toolkit/browse_thread/thread/cf95af8f866e5b41#

On Mar 15, 11:57 pm, Tristan <[email protected]> wrote:
> Thanks for taking a crack at it Ikai, I compiled the code but still
> ran out of memory around 34 Selenium touches. I'll post it in the GWT
> forum as you suggested.
>
> Cheers!
>
> On Mar 15, 8:33 pm, "Ikai L (Google)" <[email protected]> wrote:
>
>
>
> > 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 
> > > 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.

Reply via email to