Skip to Content

Java Heap Error While Message mapping in SAP PO

Nov 23, 2016 at 11:07 AM


avatar image
Former Member

Hi Experts,

We have a proxy to file scenario. The proxy run via a batch once in a week. So the data is huge in ~1GB. While processing the Request message mapping it gives heap error. Find below exact error.

Terminating queue worker-thread due to fatal error: java.lang.OutOfMemoryError: Java heap space (failed to allocate 1817615912 bytes) (max heap: 5120 MB)

I put message splitting in message mapping but still that doesnt work with this huge file. Please suggest a way to handle this.

10 |10000 characters needed characters left characters exceeded
Former Member

@michal.krawczyk2 Can you please help here on urgent basis?

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Manoj K Nov 28, 2016 at 01:17 PM


Splitting in PI doesn't help here because as the large data has already reached to PI message mapping and then splitting occurs , so you can do split in ECC i.e while sending it to PI system ECC proxy can limit the number of records they send to PI in one go.



10 |10000 characters needed characters left characters exceeded