Skip to Content
avatar image
Former Member

Java heap space error in XI repository

Hello gurus,

Lately we are experiencing extremely slow responses in the repository area. We are working on message mappings and when we tried to save the objects from the repository we received a Display Problem "java heap space". Any helps is greatly appreciated.

Thanks again,

Dng

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Oct 06, 2008 at 05:37 PM

    Hi Davidn,

    May be you can try this.

    First Close the Repository FrameWork Application.

    Then from the main Exchange Infrastruture page (browser) instead opening Integration Repository link save the repository.jnlp to local directory say desktop.

    Now open this file with any text editor. You fill see some XML tags. Identify this tag

    <resources>
            <j2se version="1.4+" initial-heap-size="32m" max-heap-size="512m" />

    You can change the max heap size according to your requirement. But this max heap size depends on certain factors such as Operating System as well on the hardware(32 bit or 64 bit) and also on the physical RAM you have from where you run IR. You can give up to 2 GB if it is windows OS. You can check SUN's official site for max heap sizes for different Operation Systems & hardwares.

    e.g., for max-heap-size = 1 GB change the above tag value as follows.

    <resources>
            <j2se version="1.4+" initial-heap-size="32m" max-heap-size="1024m" />

    Save the JNLP file and open this file either by double clicking or by explicitly with Java Web Start application. In general the diretory structure for Java Web start application is "Drive>:\Program Files\Java\j2re1.4.2_XX\javaws\javaws.exe". But by default all JNLP files will be associated with Java Web Start when Java Web Start is installed.

    Thanks,

    Praveen Gujjeti.

    Edited by: Praveen Gujjeti on Oct 6, 2008 7:41 PM

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Radhika,

      As far as I know, without closing your current IR session (DEV System) it is not possible.

      May be what you can do is, take screen shots for each of modification (BPM steps) you have done to the BPM in a word file, then close the IR session forcefully by ending the IR root process using task manager.

      Reopen IR (by saving JNLP file and changing the memory settings) and use the screen shots to change the BPM according to your requirement.

      - Gujjeti.

  • avatar image
    Former Member
    Oct 06, 2008 at 04:15 PM

    Hi,

    As per the error analysis, it seems that the java heap space is low. So need to increase the heap size.

    For XI, Usually the MaxThreadCount in ApplicationThreadManager needs to be set to 350.

    Since XI Applications are quite memory intensive, MaxHeapSize & -Xms should be atleast 2048M. However, you could set it higher to 3G if there is enough physical memory/64 bit OS.

    Check whether all java parameters are tuned correctly

    Regards

    Pullarao

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 09, 2008 at 02:19 PM

    Increase heap size to 2 GB

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 22, 2008 at 08:37 PM

    We are experiencing the same problem. Did you guys solve this issue?

    thanks,

    Peter Livingstone

    Add comment
    10|10000 characters needed characters exceeded