Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
9 replies Latest Post - ‏2012-12-13T07:35:58Z by vlit
toural
toural
25 Posts
ACCEPTED ANSWER

Pinned topic BPM 8.0.1 Process Designer hangs when saving

‏2012-11-21T14:45:48Z |
We have installed BPM Process Center 8.0.1 Standard on Window 2008 R2 64 bits and 4 GB RAM yesterday, then we installed the Process Designer in a Windows 7 machine 4 GB RAM and imported the processes developed under BPM 8.0 and continue developing with them.

We were updating a coach and saving with no problems but after three or four saves (adding or removing components) the interface of Process Designer freezes with a pop-up with the following information:

Progress Information
Refresh Library

A dump is created including javacore files

The problem is very easy to reproduce, it is allways the same behavior.

There is no information registered in SystemOut.log at that time

After restart Process Designer you can work again with PD but not to save changes in coaches for more than about 3 times!

Any help would be really appreciated

Thanks
Updated on 2012-12-13T07:35:58Z at 2012-12-13T07:35:58Z by vlit
  • vlit
    vlit
    922 Posts
    ACCEPTED ANSWER

    Re: BPM 8.0.1 Process Designer hangs when saving

    ‏2012-11-21T14:57:53Z  in response to toural
    Hi,

    It is funny - 4 GB of RAM for BPM server Windows 2008.
    I think the heap by default - 768/2048?
    All save - this is the new snapshot and a lot of them save in the cache in memory.

    Out Of Memory, I think.

    Vladlen.
  • toural
    toural
    25 Posts
    ACCEPTED ANSWER

    Re: BPM 8.0.1 Process Designer hangs when saving

    ‏2012-11-21T16:32:24Z  in response to toural
    Hi, we have increased the RAM in the Process Center machine to 6 GB and also increase the heap size to 1 GB / 4 GB and repeated the test with the same result:

    We have just add a button to the coach and save the change with good response time then add a new button and save with a bit worse response time then added a third button and received for a while a "Not responding" message but finally was saved and then I tried to add a fourth button but the PD hanged and the damp was generated.

    Thanks in advanced, any idea is welcome.
    • vlit
      vlit
      922 Posts
      ACCEPTED ANSWER

      Re: BPM 8.0.1 Process Designer hangs when saving

      ‏2012-11-21T17:42:59Z  in response to toural
      I didn't understand - the dump was generated on the server or client side?

      Try to edit eclipse.ini file:
      -Xms1024m
      -Xmx1024m

      And by the way - set heap 4096/4096.

      Vladlen.
      • vlit
        vlit
        922 Posts
        ACCEPTED ANSWER

        Re: BPM 8.0.1 Process Designer hangs when saving

        ‏2012-11-21T17:47:13Z  in response to vlit
        Was DB installed on the same machine?

        Vladlen.
      • toural
        toural
        25 Posts
        ACCEPTED ANSWER

        Re: BPM 8.0.1 Process Designer hangs when saving

        ‏2012-11-21T18:10:01Z  in response to vlit
        Hello again,

        the dump was generated in the client.

        After changing the eclipse.ini to the values you suggested, we no longer have the problem.

        Thanks very much for your help!
  • toural
    toural
    25 Posts
    ACCEPTED ANSWER

    Re: BPM 8.0.1 Process Designer hangs when saving

    ‏2012-11-22T14:49:14Z  in response to toural
    Hello again. Unfortunately the issue reappeared but this time after save changes more than 30 times.

    The configuration we have:

    DB is installed in a separated machine

    Process Designer:

    eclipse.ini

    -Xms1024m
    -Xmx1024m

    Process Center:

    Heap size 4096/4096
    RAM 6 GB

    It seems the memory assigned affects directly and delay the moment the error appears.

    Any idea is welcome

    Thnaks in advnaced
    • vlit
      vlit
      922 Posts
      ACCEPTED ANSWER

      Re: BPM 8.0.1 Process Designer hangs when saving

      ‏2012-11-22T20:12:26Z  in response to toural
      Hi,

      It's rather strange because RAM 2GB and heap=512 is usually enough.
      But the memory leak presents in our case.

      I advice only:

      1. Reinstall Process Designer.
      2. Try to do the same from an another workstation (RAM error may be).
      3. Add -XX:MaxPermSize=256m or 512
      4. Also, cannot your PD use not embedded JRE, but some other installed in your system? I that case, OOM is possible.

      Vladlen.
      • SystemAdmin
        SystemAdmin
        7615 Posts
        ACCEPTED ANSWER

        Re: BPM 8.0.1 Process Designer hangs when saving

        ‏2012-12-12T16:11:01Z  in response to vlit
        Hi, I have same problem, Coach and Coach designer causes a lot of OOM, same behaivor than toural.

        and depends of who big Coach is.

        actually I use
        -Xms256m
        -Xmx1768m
        -XX:PermSize=128m
        -XX:MaxPermSize=256m
        -Xgcpolicy:optavgpause
        -Xgcthreads4
        -Xloa
        -Xloainitial0.4
        -Xloamaximum0.7
        -Xloaminimum0.2

        that reduce a few OOM, but it is few, some developers have same quantity of OOM than initial, but other have less.

        toural had you opened a PMR for this?
        • vlit
          vlit
          922 Posts
          ACCEPTED ANSWER

          Re: BPM 8.0.1 Process Designer hangs when saving

          ‏2012-12-13T07:35:58Z  in response to SystemAdmin
          Hello,

          I tried to reproduce this issue but I couldn't.
          I think it is a problem on your ProcessCenrer side (or database, may be).

          I've got an idea.
          Your Process Center isn't in time to process all the PD requests, they accumulate in PD heap and provoke OOM.

          Vladlen | http://bpmadmin.blogspot.com