Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » The RCP application becomes slow and not responding(The RCP application becomes slow and not responding after running swtbot tests for long time)
The RCP application becomes slow and not responding [message #938885] Wed, 10 October 2012 04:38 Go to next message
Ramesh D is currently offline Ramesh D
Messages: 17
Registered: January 2012
Junior Member
Hi,

I have created an automation suite with SWTbot which runs for about 1 hour.

I see that after running for half an hour, the RCP application becomes slow and not responding. Since i am running from eclipse IDE SWTbot tests, I may not be able to restart the application for each tests to overcome this issue.


Is there any other workaround for running big suites of automation which runs for long time(may be in hours)

Any help would be appreciated.

Re: The RCP application becomes slow and not responding [message #941134 is a reply to message #938885] Fri, 12 October 2012 04:32 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael Istria
Messages: 720
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi,

Does the log tell you anything bad?

Slow RCP applications can be a symptom of not using enough Heap space or
PermSize. You should increase your Xmx and/or XX:MaxPermSize to give to
your application enough space to behave well.

HTH

--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: The RCP application becomes slow and not responding [message #946791 is a reply to message #941134] Tue, 16 October 2012 10:09 Go to previous message
Ramesh D is currently offline Ramesh D
Messages: 17
Registered: January 2012
Junior Member
I have have played around with the VM arguments but didnt help. Here is what the VM areguments i am using currently.

-Xmx1024M -Xms512M -Xss512k -XX:MaxPermSize=128m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC
Previous Topic:SWT bot + eclipse forms
Next Topic:How to click on popupbar tool of GMF editpart
Goto Forum:
  


Current Time: Fri Apr 18 01:41:22 EDT 2014

Powered by FUDForum. Page generated in 0.02836 seconds