Update-Increase webMethods IS JVM memory

In earlier post i explained how to increase webMethods IS JVM memory on Windows and Linux\Unix Machine. Post is valid for version 8x and older too.

In current post i will cover how to increase webMethods IS JVM memory for newer versions (9x and above).

Over the time SAG has made it very easy for administrator to maintain IS and update webMethods IS JVM memory

To change JVM memory open below file in editor of your choice

<SAG_HOME>/profiles/IS_default/configuration/custom_wrapper.conf

look for these two values

wrapper.java.initmemory=4096
wrapper.java.maxmemory=4096

change these two values to new desired values.

Restart Integration server.

you can quickly restart IS using restart script present at

<SAG_HOME>/profiles/IS_default/bin/restart.sh|bat

Once IS is up, login to IS admin page and confirm webMethods IS JVM memory reflects new values.

PS:- there is another file wrapper.cnf under configuration folder. please make sure you don’t change memory values in wrapper. all changes or custom values should go in customer_wrapper.cnf. Memory settings if updated in wrapper.cnf will not be taken into consideration. as IS always gives precedence to values provided in custom_wrapper file.

Hope this is helpful information.


Comments

4 responses to “Update-Increase webMethods IS JVM memory”

  1. Thanks for this post Mangat. It helps to underscore how custom_wrapper is really different and should be used for changing custom values when one may be tempted to think wrapper.cnf is correct.
    Now, do have any insight on what would be optimal values to configure memory settings considering that having too large will increase GC processing and having too small will limit processing threads.

    1. MANGAT RAI Avatar
      MANGAT RAI

      Sandeep, memory settings vary dependent on many factors. number of packages, services, transaction load, size of data etc. I have seen IS running fine at 2gb memory vs IS throwing OOM exception at 24GB. you have to play around with settings that is what i do.

      Having said that, did you look at performance reports provided by SAG?

      1. No I didn’t have a copy of any such reports. Pls share if you do. Also when you say “play around with settings”, are there any that come to your mind instantly?

        1. MANGAT RAI Avatar

          Check in empower, there must be some. If not then that means they are not for publicly available. Unfortunately I don’t have any report with me.

          I can’t rely comment on settings until and unless i know how many package, services, what kind of services. Now I have seen IS run just fine with 1GB memory and throwing OOM exception at 16GB memory. So i can’t really talk about that without knowing more about it.

Questions? Comments? Suggestions? Let us know!! Like / Subscribe / Follow for more updates.