IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Garbage Collection

    Posted Fri November 30, 2001 10:40 PM

    PROBLEM: As the server runs idle on versions 4.0.1 and below, memory usage may slowly increase over time.

    SOLUTION: Schedule a simple, one line java service:

    System.gc();

    to run every 30 minutes or so. The Java garbage collector is a low level thread so explicitly calling it won’t force the jvm to clean up right away, but it’ll be more likely to do it when it gets the chance.

    Another way to monitor memory usage is to create a handler service that runs whenever a Stat Event is published. One of the variables in the Stat Event is FreeMemPer. The handler service can check this FreeMemPer and invoke the System.gc() java service whenever it falls below a given threshold.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Garbage Collection

    Posted Mon November 25, 2002 03:50 PM

    Hi,

    I would like to know what’s a Stat Event? I’m a newbie to WM. I’m working in IS4.6.

    RK


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: Garbage Collection

    Posted Tue November 12, 2013 06:10 AM

    Hi All,
    I am newbie to wM and just figuring out how to configure the gc logging path for wM JVM’s, please advice

    Thanks
    Rajesh… :slight_smile:


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods