Question:
Hi guys,
I have a flow running which converts an incoming INVOIC-IDoc into a Flatfile (simple line by line-structure).
When the invoice is small, it works perfectly, if it's big, the IS4.6 says "bye-bye" without further notice (program disappears completely from memory and server needs to be restarted).
I need to be able to process IDocs with 1000-2000 positions. Right now it crashes at position 450.
My configuration: SAP BC 4.6, Servicepack 3 with EDI-Adapter, 512MB RAM, 1GHz PIII, W2k-Server, JDK 1.2.2. Javamem: 384 - 768MB (tried 256MB first).
Any ideas how to free memory or best practice infos on how to handle large Idocs?
Answer:
Have you tried this using SAP BC on Linux? Memory management seems to be better on Linux.
Can you loop through the whole IDOC doing nothing?
What process/function are you using to write to file?
Answer:
Hi dcolley,
can't move to Linux. However the thing works now with even 1000 Positions. That's enough.
Turned off audit log for most flows, increased Java Mem to 512 MB and increased swap file of w2k-server to 2048MB.
Thanks!