krenevla
12 years agoContributor
optimal memory settings for following setup
Hello there,
I would like to ask You if following memory settings are optimal regarding to how my tests looks like.
- I run my tests on "headless" Debian Linux system using testRunner.sh
- right now, I execute just one Test Suite with three Test Cases executed in parallel way. But these "Test Cases" are highly modularized and I am using ~50 MB of additional JARs (my own Groovy library, Selenium stuff, Oracle driver etc..).
- I run testRunner with following parameters
When my tests are running, testRunner produces many threads (as can be seen on attached picture)
And my question is - are my "test runner memory settings" safe enough regarding to total available memory and number of threads which are generated? As can be seen from picture, system has only 4GB of RAM but just 15% is used right now.
And why there are so many threads? I guess each "run TestCase" step generates additional thread but why there are so many? I execute just three "tests" in parallel so why there are not just three threads?
Thank You and sorry if my question is not clear at all
I would like to ask You if following memory settings are optimal regarding to how my tests looks like.
- I run my tests on "headless" Debian Linux system using testRunner.sh
- right now, I execute just one Test Suite with three Test Cases executed in parallel way. But these "Test Cases" are highly modularized and I am using ~50 MB of additional JARs (my own Groovy library, Selenium stuff, Oracle driver etc..).
- I run testRunner with following parameters
-Xms512m -Xmx512m -XX:MaxPermSize=512m
When my tests are running, testRunner produces many threads (as can be seen on attached picture)
And my question is - are my "test runner memory settings" safe enough regarding to total available memory and number of threads which are generated? As can be seen from picture, system has only 4GB of RAM but just 15% is used right now.
And why there are so many threads? I guess each "run TestCase" step generates additional thread but why there are so many? I execute just three "tests" in parallel so why there are not just three threads?
Thank You and sorry if my question is not clear at all
