cancel
Showing results for 
Search instead for 
Did you mean: 

Java Heap Error While Message mapping in SAP PO

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.

0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

manoj_khavatkopp
Active Contributor
0 Kudos

Aprajita,

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.

Br,

Manoj

Answers (0)