Out of memory errors

Report your bugs here. We promise to deal with them.

Out of memory errors

Postby ssharma » 11 Feb 2012 23:00

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
ssharma
User
 
Posts: 25
Joined: 01 Jan 2012 19:49

Re: Out of memory errors

Postby SmartBear Support » 13 Feb 2012 15:10

Hello,

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

Thanks!

Regards,
Vladimir
SmartBear Software
SmartBear Support
Administrator
Administrator
 
Posts: 6702
Joined: 16 Feb 2009 10:53

Re: Out of memory errors

Postby ssharma » 16 Feb 2012 18:05

Yes the soapui bat file is configured as
Set java-opts=-xms3000m -xmx3800000m. For 4 Gb Ram
ssharma
User
 
Posts: 25
Joined: 01 Jan 2012 19:49

Re: Out of memory errors

Postby SmartBear Support » 29 Feb 2012 10:33

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
SmartBear Support
Administrator
Administrator
 
Posts: 6702
Joined: 16 Feb 2009 10:53

Re: Out of memory errors

Postby ssharma » 17 Mar 2012 02:06

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
ssharma
User
 
Posts: 25
Joined: 01 Jan 2012 19:49

Re: Out of memory errors

Postby SmartBear Support » 20 Mar 2012 10:24

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
SmartBear Support
Administrator
Administrator
 
Posts: 6702
Joined: 16 Feb 2009 10:53

Re: Out of memory errors

Postby ssharma » 23 Mar 2012 13:56

We are using soap ui pro 4.0.1 for executing test cases
ssharma
User
 
Posts: 25
Joined: 01 Jan 2012 19:49

Re: Out of memory errors

Postby ssharma » 25 Mar 2012 23:48

Please let us know what the soapui.bat file should coontain for a 4GB Ram machine . The Xmx statement . Thank s
ssharma
User
 
Posts: 25
Joined: 01 Jan 2012 19:49

Re: Out of memory errors

Postby SmartBear Support » 27 Mar 2012 13:06

Hi,

you can try setting '-Xmx2048M'.

Regards,
Vladimir
SmartBear Software
SmartBear Support
Administrator
Administrator
 
Posts: 6702
Joined: 16 Feb 2009 10:53


Return to soapUI Pro Bugs