Waiting for all Async calls to complete during Selenium tests

2013-12-25 Thread Ranjith Chungath
Hello Everyone, We are writing integration tests using Selenium Web Driver and Cucumber JVM for our GWT application. One major issue that we are facing is how to identify when all the Async calls are complete. We would like to execute the next Step only after all the async calls are comple

Integration tests for GWT

2013-11-10 Thread Ranjith Chungath
Hi, I am evaluating different options of writing integration tests for GWT applications. Looking at options which can test the end-to-end use cases.. I am aware of the Selenium tests using gwt-debug ids. Would like to know about other options also for integration testing of la

Re: Memory growth in GWT Compiler

2013-07-02 Thread Ranjith Chungath
I compiled it with 2GB without memory dumping and as you mentioned, System.gc() was called and the graph was uniform similar to my second graph. Thanks, Ranjith On Saturday, June 29, 2013 6:30:22 PM UTC+5:30, Jens wrote: > Should GWT be calling System.gc() by default after each permutat

Memory growth in GWT Compiler

2013-06-28 Thread Ranjith Chungath
Hi, The following is the memory graph from JVisualVM of the GWT compiler when compiling my modules. I was trying to understand the memory consumption at different stages of t

Re: AstDumper is not giving consistent dumps

2013-06-25 Thread Ranjith Chungath
permutations was 1. I later specified "-optimize 0" as compiler argument and it dumped the class only once, exactly what I was looking for. Regards, Ranjith On Monday, June 24, 2013 10:54:24 PM UTC+5:30, Ranjith Chungath wrote: > Hi, > > I am using the arrgument -Dgwt.

Re: Design of the GWT Compiler

2013-06-24 Thread Ranjith Chungath
Pl. send me the link to the same when they are available Thanks, Ranjith On Monday, June 24, 2013 12:47:16 AM UTC+5:30, Thomas Broyer wrote: > > > On Sunday, June 23, 2013 7:21:16 PM UTC+2, Ranjith Chungath wrote: >> >> Hi, >> >> I would like to underst

AstDumper is not giving consistent dumps

2013-06-24 Thread Ranjith Chungath
Hi, I am using the arrgument -Dgwt.jjs.dumpAst to dump the AST during GWT compile. I am trying to understand which of the GWT modules we are using are causing the AST to become larger. However, each time I run it with the same list of GWT modules, the dump is different. I tried with

Design of the GWT Compiler

2013-06-23 Thread Ranjith Chungath
Hi, I would like to understand the GWT compiler in deep. The classes and the flow. For E.g., the following classes and the Visitors - com.google.gwt.dev.jjs.impl.ControlFlowAnalyzer - com.google.gwt.dev.jjs.JavaToJavaScriptCompiler - com.google.gwt.dev.jjs.impl.CodeSplitter -

Analyzing which GWT modules are taking more memory during GWT compile

2013-06-19 Thread Ranjith Chungath
Hi, I have already created a post related to the Memory footprint of the AST build during GWT compile https://groups.google.com/forum/?fromgroups#%21topic/google-web-toolkit/_a2kfiyxlxI . The response in the post is that I need to increase the Xmx value. Now, I need to know which of m

Re: Out of Memory during GWT compile

2013-06-12 Thread Ranjith Chungath
Thanks for the reply.. Is there any other option other than increasing -XX:MaxPermSize.? Is there a compiler option that can do the memory optimization? ~Ranjith On Tuesday, June 11, 2013 11:05:44 PM UTC+5:30, Ranjith Chungath wrote: > While analyzing with Eclipse Memory Analyzer(

Out of Memory during GWT compile

2013-06-11 Thread Ranjith Chungath
While analyzing with Eclipse Memory Analyzer(MAT), it was found that around 860MB of memory is taken by HashMap.Entry and HashMap.Entry[]. There are 1.3 million instances of HashMap.Entry objects created. See image below.

Re: Cell mouse in/out events fired multiple times

2013-05-16 Thread Ranjith Chungath
Sure, will check that one too... Thanks, Ranjith On Sunday, May 12, 2013 1:00:48 PM UTC+5:30, Ranjith Chungath wrote: > I have a cell which is composed of multiple div, img eleemnts. When I > register for mouse in/out events, > onBrowserEvent gets called multiple times when the

Re: Cell mouse in/out events fired multiple times

2013-05-13 Thread Ranjith Chungath
That's exactly what I was looking for Thanks, Ranjith On Sunday, May 12, 2013 1:00:48 PM UTC+5:30, Ranjith Chungath wrote: > I have a cell which is composed of multiple div, img eleemnts. When I > register for mouse in/out events, > onBrowserEvent gets called multiple

Cell mouse in/out events fired multiple times

2013-05-12 Thread Ranjith Chungath
I have a cell which is composed of multiple div, img eleemnts. When I register for mouse in/out events, onBrowserEvent gets called multiple times when the mouse is hovered over the cell because it fires for each contained div/img elements. I know that this is done so that there might be a requ