Topic
  • 4 replies
  • Latest Post - ‏2010-01-13T17:50:52Z by jborgers
SystemAdmin
SystemAdmin
642 Posts

Pinned topic ISA 4 default min and max heap

‏2009-02-11T14:28:21Z |
What is the default -Xms and -Xmx setting for ISA 4. I saw another post concerning an unexpected crash where the recommendation was to increase the heap size in the rcpinstall.properties file. The example given was -Xmx 1024. Is that the recommended max heap?

I have the crashes as well, usually several times a day as I use the tool heavily.

Thanks in advance.
Updated on 2010-01-13T17:50:52Z at 2010-01-13T17:50:52Z by jborgers
  • riddlemo
    riddlemo
    33 Posts

    Re: ISA 4 default min and max heap

    ‏2009-02-16T20:54:24Z  
    The default maximum heap is 512M. IBM Supported does not have a documented maximum recommended heap size. However, if the cause is an OutOfMemeoryException, increasing the heap may help. You can add the -DXmx parameter to rcpinstall.propeties or to the rcplauncher command line. Check the logs in the workspace logs directory (IBM/isav4/logs in the user's home directory) to see if there is a memory related error. The logs are most easily viewed using a browser. Internet Explorer or Firefox will format the XML files for easier viewing.
  • SystemAdmin
    SystemAdmin
    642 Posts

    Re: ISA 4 default min and max heap

    ‏2009-02-19T15:31:00Z  
    Thanks for the info.
  • jborgers
    jborgers
    2 Posts

    Re: ISA 4 default min and max heap

    ‏2010-01-13T17:49:30Z  
    • riddlemo
    • ‏2009-02-16T20:54:24Z
    The default maximum heap is 512M. IBM Supported does not have a documented maximum recommended heap size. However, if the cause is an OutOfMemeoryException, increasing the heap may help. You can add the -DXmx parameter to rcpinstall.propeties or to the rcplauncher command line. Check the logs in the workspace logs directory (IBM/isav4/logs in the user's home directory) to see if there is a memory related error. The logs are most easily viewed using a browser. Internet Explorer or Firefox will format the XML files for easier viewing.
    Hi,

    This is helpful. However, I tried to change the vm arguments as you described and it did not work for me. In the log file I found the location of the vm arguments.

    The vm arguments are set in the file:

    jvm.properties

    in location on my disk:

    C:\Program Files (x86)\IBM\IBM Support Assistant v41\rcp\eclipse\plugins\com.ibm.rcp.j2se.win32.x86_1.6.0.200 90211a-200903301321\

    MAT is running in the ISA eclipse host IBM jvm. It's settings are:
    -Xmn7m
    -Xms48m
    -Xmx256m

    Which seem quite ridiculous to me.

    I recommend removing the -Xmn parameter for the new space size. Let this be handled by the gencon garbage collector itself. This will speedup the processing. For me it now takes about a minute to process a 1 GB heap. I have -Xmx1200m and -Xms256m. Before, I could just not process this heap dump, it kept on processing all day to get to 2% progress.

    --Jeroen.
  • jborgers
    jborgers
    2 Posts

    Re: ISA 4 default min and max heap

    ‏2010-01-13T17:50:52Z  
    • jborgers
    • ‏2010-01-13T17:49:30Z
    Hi,

    This is helpful. However, I tried to change the vm arguments as you described and it did not work for me. In the log file I found the location of the vm arguments.

    The vm arguments are set in the file:

    jvm.properties

    in location on my disk:

    C:\Program Files (x86)\IBM\IBM Support Assistant v41\rcp\eclipse\plugins\com.ibm.rcp.j2se.win32.x86_1.6.0.200 90211a-200903301321\

    MAT is running in the ISA eclipse host IBM jvm. It's settings are:
    -Xmn7m
    -Xms48m
    -Xmx256m

    Which seem quite ridiculous to me.

    I recommend removing the -Xmn parameter for the new space size. Let this be handled by the gencon garbage collector itself. This will speedup the processing. For me it now takes about a minute to process a 1 GB heap. I have -Xmx1200m and -Xms256m. Before, I could just not process this heap dump, it kept on processing all day to get to 2% progress.

    --Jeroen.
    I have to add that my remarks are about ISA version 4.1.

    --Jeroen.