Forum Discussion

ssharma's avatar
ssharma
Contributor
14 years ago

Out of memory errors

Hi - I have Windows 7 with 4GB Ram and frequently get "out of memory " errors or SOAP UI will freeze with a not responding status .

This leads us to lose data and have to re start the functional test case again. We simply want to be able to scale upto at least 5K records with a Test Case but have to keep repeating every 400 Test Cases .

is there a workaround for this ?

Thanks
Suleena

8 Replies

  • Hello,

    how much memory is availalable to soapUI, i.e. do you use -Xmx switch when running soapUI ?

    Thanks!

    Regards,
    Vladimir
    SmartBear Software
  • Yes the soapui bat file is configured as
    Set java-opts=-xms3000m -xmx3800000m. For 4 Gb Ram
  • Hi,

    Sorry for not getting back to you. Have you found any solution to this? If not, could you explain what you are trying to achieve in more general terms? What do you mean by records?

    Best Regards

    Henrik
    SmartBear Software
  • What happens is that if I run 100K test cases it freezes . I am trying to run through at least 250K lines of data / Test Cases

    Suleena
  • Ok, I assume that you are using a DataSource loop and want to loop a TestCase 250 000 times, because you have 250 000 records in your DataSource. Is this correct?

    Now, a few points:

    ssharma wrote:
    Set java-opts=-xms3000m -xmx3800000m.

    I think that it's case-sensitive. I.e. you have to write -Xmx, not -xmx. Also, -Xmx3800000m (3 800 GiB) is waaay to much memory and you shouldn't be able to start soapUI with this setting.

    Have you read the Improving Memory Usage article?

    Which version of soapUI are you using?


    Thanks

    Henrik
    SmartBear Software
  • We are using soap ui pro 4.0.1 for executing test cases
  • Please let us know what the soapui.bat file should coontain for a 4GB Ram machine . The Xmx statement . Thank s