Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » [SOLVED] AutServerLauncher Memory Leak
icon5.gif  [SOLVED] AutServerLauncher Memory Leak [message #1713468] Wed, 04 November 2015 10:42 Go to next message
Sanan Panahli is currently offline Sanan PanahliFriend
Messages: 5
Registered: June 2015
Junior Member
Hello, Fellow Jubula Users

My project is to make regression test of software called Operator Terminal made by futronic GmbH. This software is written in Java using Swing toolkit.
Test cases are very simple and one full test job takes only 5 mins to execute.
I run test with testexec.exe and software is started with autrun.exe

However, while overnight tests which runs every 10 mins during 12 hours.
I am getting OutofMemory error from Operator Terminal software. Through task manager i see that my software is using way more than 1Gb (limit is -Xmx512) what causes software crash. Later on i changed Xmx to 1024, but the ram usage of the software keep growing and growing.

Memory Leak only occurs when Jubula tests are running. Application under the test starts to consume more and more RAM memory till it reaches the default limit.

I have used Your Kit Java Profiler to see where is actually the memory leak.But due to lack of experience and knowledge, i couldnt understand what causes this issue.

I will be very happy if someone can help me. Screenshot in attachment.

Thanks a lot

Sanan
  • Attachment: AUTSERVER.PNG
    (Size: 185.07KB, Downloaded 176 times)

[Updated on: Tue, 08 December 2015 12:22]

Report message to a moderator

Re: AutServerLauncher Memory Leak [message #1713476 is a reply to message #1713468] Wed, 04 November 2015 12:13 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Thanks for mentioning this and putting it in. I'll forward it on to the team to see what other information we might need.

Thanks!
Alex
Re: AutServerLauncher Memory Leak [message #1713478 is a reply to message #1713476] Wed, 04 November 2015 12:44 Go to previous messageGo to next message
Sanan Panahli is currently offline Sanan PanahliFriend
Messages: 5
Registered: June 2015
Junior Member
Thanks Alexandra for your fast reply.

I am willing to give any information needed.

Sanan
Re: AutServerLauncher Memory Leak [message #1715219 is a reply to message #1713478] Fri, 20 November 2015 10:54 Go to previous messageGo to next message
Marvin Mueller is currently offline Marvin MuellerFriend
Messages: 255
Registered: March 2012
Senior Member
I have had a look at this problem and i think i found the issue.
To verify if is the same i have some questions:

There is no restart of the Application in the tests or outside of the tests?
The OutOfMemery is happening later and not right in one the first test suites?

I have opened a Bug for this http://eclip.se/482668

Thank you for the given information!
With regards
Marvin
Re: AutServerLauncher Memory Leak [message #1716392 is a reply to message #1715219] Thu, 03 December 2015 13:11 Go to previous messageGo to next message
Sanan Panahli is currently offline Sanan PanahliFriend
Messages: 5
Registered: June 2015
Junior Member
Hi Marvin,

sorry for the late responces, didnt get any notification for a new reply

1) No there is no restart, however because i run tests 24h/7Days every 10 hours i make AUT Restart in order not to run into OutOfMemory problems. This solution is working pretty well so far.

2) No, out of memory comes like after 12-13 of non stop testing (around 15 mins pause, between each test job, that runs for 1 hour)

Thank you very much,
Regards
Sanan
Re: AutServerLauncher Memory Leak [message #1716424 is a reply to message #1716392] Thu, 03 December 2015 16:11 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
The bug has been marked as fixed, so hopefully you can try the next sprint release to check if it helps Smile
Re: AutServerLauncher Memory Leak [message #1716825 is a reply to message #1716424] Tue, 08 December 2015 12:21 Go to previous messageGo to next message
Sanan Panahli is currently offline Sanan PanahliFriend
Messages: 5
Registered: June 2015
Junior Member
I have compiled new code and replaced with old file, and i started the test on Friday night (04.12). It's been running constantly and up to now there is no MemoryLeak!

Thank you very much for solving this issue!!

Best Regards
Sanan
Re: AutServerLauncher Memory Leak [message #1716955 is a reply to message #1716825] Wed, 09 December 2015 09:46 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Glad to hear that it worked! Thanks for the feedback Smile
Previous Topic:Merging test cases
Next Topic:Jubula doesn't recognize JavaFX Tree after initial mapping.
Goto Forum:
  


Current Time: Sat Feb 24 12:20:30 GMT 2024

Powered by FUDForum. Page generated in 0.02151 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top