Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1202 by [email protected]: Too much memory consumed for large number of test cases, even if suite html files are relatively smaller and independent
http://code.google.com/p/robotframework/issues/detail?id=1202

Hi,

We are using robot framework 2.7, using maven (the maven robot framework plugin).

In one of our test scenarios, we have ~40,000 test cases.
However, we tried to split them in different test suites (html files), with no file exceeding ~200 kb.
In total we have around 750 such files, whose size vary from 35kb to 212kb.

I have allocated 4.6GB to robot process already. Problem is, that robot seems to be loading all those files before actually executing the first test (around 3.7GB). This leads to huge memory consumption considering the html files themselves are 121 mb in all.

Questions / Requests -
1. Is it really required for robot framework to load all test cases? 2. And can that be disabled somehow, considering anyways every suite will be independent of the other (at least in our case they are), so an html should not be loaded unless it is 'referenced' (E.g. for some common keywords)? 3. A suite once executed, should that not be 'unloaded' completely? (the html file, the tree created by html parser e.g., some other intermediate structure which now is not relevant for rest of the execution)?


Kindly let me know if some more information is required.


Reply via email to