on 10-06-2008 5:04 PM
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
We are experiencing the same problem. Did you guys solve this issue?
thanks,
Peter Livingstone
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
although the topic is answered: it would be also helpful to use another workaround. I remember that in one of my projects I have had the same problem as well. That's a message mapping between IDOC and JDBC structure. What I did is just to reduce the IDOC segments by creating a Z IDOC type on SAP ERP and taking the only useful segments with me on mapping. And afterwards no java heap size problem any more.
Well, if you cannot reduce your fat message types, java tuning might be the only option.
Regards,
Chen
Hello,
please have a look at
1580914 - Java heap space OutOfMemoryError in the PI Repository
Regards
Thomas
Increase heap size to 2 GB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Praveen,
Nice thread its helped me a lot.
but i have one concern i am working now on DEV system.(i have created BPM. its very huge number of steps yesterday it was saved but today i did few changes now i am trying to save but it showing java heap space).
without closing that BPM , i opened sandbox system and i followed your instructions given in above thread.
with that file i can able to open Sandbox systems IR.
Then i tried to save DEV systems BPM, againit showing the same error.
Could you help me in this regard with out closing that BPM i need to save that.
Help me ASAP.
Thanks in advance,
Radhika
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.