cancel
Showing results for 
Search instead for 
Did you mean: 

Java WEB AS - Is it possible to prevent a single process using all memory?

Former Member
0 Kudos

Hi all,

We have a SAP PI 7.0 installation and we have encountered issues with Java mappings utilizing all available memory on the Java stack and causing the server to slow and eventually crash. The original issue was caused by a poorly coded map, but as this is a large installation we want to protect ourselves against any other poor coding that may be on the system or introduced later.

Are there any configuration options within the WEB AS whereby we can either limit the amount of memory available to the execution of any one mapping, or that will enable the server to stop processing once a set limit is reached?

Any help will be much appreciated.

Regards,

- Ian

Accepted Solutions (0)

Answers (1)

Answers (1)

markus_doehr2
Active Contributor
0 Kudos

The only thing that comes to my mind is to use several server processes for the Java instance and limit the max heap size. Once that size is reached, the thread will end with OutOfMemory error but since you have several server processes others threads can continue to work.

Markus