cancel
Showing results for 
Search instead for 
Did you mean: 

Java memory usage fills up with sychronous interfaces

Former Member
0 Kudos

Dear,

We are communicating with R/3 over SAP PI using synchronous RFC and Proxy calls which are triggered by a SOAP Sender channel:

Form -> Service -> PI -> RFC -> PI -> Form

Form -> Service -> PI -> Proxy -> PI -> Form

In the NWA when I go to Java System Reports under Memory Consumption I can see a large increase in memory used when I execute a synchronous call, and now the problem, it doesn't drop ... It just keeps going up, till it reaches the cap of 2Gb on this server, and then the whole thing bottlenecks on memory and I have to reboot the Java stack to be able to work again ...

Any ideas? How can I make my Sync RFC and Proxy calls so that they actually close properly after being executed, as this is the problem I think.

Kind regards,

Frederik-Jan.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Patched the kernel to 144, solved the problem.

prateek
Active Contributor
0 Kudos

Is the message too large in size or there is large volume of sync messages? Goto Visual Admin or NWA and check for "SAP XI AF Messaging service" parameter messaging.syncMessageRemover.checkInterval

This defines how much time you want the sync message to be stored. You may reduce the time and check if the problem persists.

Regards,

Prateek