Hi,
I read a thread on this, but there is no solid solution. I have some question and suggestion here:-
Objective:- To append two large file back to back. (File size 100MB - 350MB)
IS Server Heap Size:- 1 GB
Problem:-
(1) The flow service-getFile causes “out of memory” problem.
(2) Before hitting this flow, the used memory is 510000KB
(3) After hitting this flow, the used memory is 800000KB
Quesions:-
(1) The increase in memory usgae is 300000KB = 299MB, for a 200MB file processing, is this acceptable?
(2) If the heap size limits the size of flat file IS can process (append, read, modify, insert etc), and the version of JVM limits the Heap Size you can set (1.4 max heap size is 2GB?), one can actually predict the maximum size of file IS can process
(3) Can the append action be accomplish using System memory instead of Heap Size?
(4) What is the different between getFile as Bytes and Stream?
Please advice.
Thank you.
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services