Forum Discussion
Error is seen in both the machines (Linux and Windows). In windows, after using 75% of the total RAM, it was able to run 165 test.
On the windows machine, are you still set to 4096 for the vm options file? Or did you adjust that?
- groovyguy6 years agoChampion Level 1
Okay, just making sure I understand which OS and memory configuration we're troubleshooting there. Can you open Task Manager on windows and watch memory increase as it goes? Running hundreds of tests should not necessarily cause this sort of problem. One thing that comes to mind is to ensure you've set your memory optimizations per this article.
I would set every test case's settings to a Max Results of 0 and to discard successful test steps results to save memory.
Another piece you can try is to put in a groovy script test step / assertion that does the following code. This will force ReadyAPI to do a garbage collection. This has helped me in some instances when ReadyAPI starts using a lot of memory.
System.gc();
Unfortunately, without knowing what your tests encompass or the size of data in the request and/or response, it is difficult to troubleshoot. One option might be to open a support ticket, especially if the software continues to crash with that error.
- NewAutoTester6 years agoContributor
In windows, I changed it to 12GB out of 16GB RAM.
- Olga_T6 years agoSmartBear Alumni (Retired)
Hi all,
And thank you everyone who participated in the discussion.
NewAutoTester, were the suggestions above helpful? If your question was answered, could you please click the Accept as Solution button below the reply that helped you?
Or, in case you created a support case, is it possible for you to share the updates with the Community here?
Thank you in advance!