Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
17 years ago

configuring soapui on windows 2003 64bit with 64bit JRE

Hello,
To get over windows 32-bit memory restrictions, I am trying to use windows 2003 x64 on a 64bit hardware architecture, with 64bit JRE.

I installed soapui pro 2.5 and changed the soapui.bat file as follows to point to the 64bit JRE
set JAVA=C:\Program Files\Java\jre6\bin\java

I have 4GB of memory available and would like to allocate 3GB to soapui.

I am trying to tweak these settings to allocate more to soapui
-Xms128m -Xmx3800000m

I have 2 issues.
1. even thought I can increase -Xmx all the way upto 3800000m, the soapui memory log shows 125632K allocated. This number does not change even if I decrease Xmx.


2. How can I verify how much memory has been allocated to soapui. Does the 'allocated' number in the 'memory log' correspond to -Xmx? If so how does Xmx3800000m translate to 125632K (display on my soapui log)

Thanks

Ali

4 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Ali,

    the number you see in the log is the lower-end value (-Xms) which tells the JRE how much memory to start off with.. the -Xmx value gives the max limit.. to test the architecture maybe you could set the -Xms value to 3000m ?

    regards!

    /Ole
    eviware.com
  • alibaba82's avatar
    alibaba82
    Super Contributor
    i will try adjust xms to 3000m to see if that makes a difference.

    what does 3000m translate to in terms of GB. What is the highest soapui can be set to or should be set to for a system with 4GB.

    Thanks
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Ali,

    3000m is 3000 megabytes which is (roughly) 3gb

    regards!

    /Ole
    eviware.com
  • You should seriously reconsider using such a large heap.

    If you use a large heap, then garbage collection will take a long time and you'll have noticeable pauses.

    I mostly have need for larger-than-basic heaps in webservers and I make an effort to limit myself to 512mb per server instance. It's better to make several instances if you need to make use of more ram