Is this a fixed field length flat file? If so, will the flat file services help in performing the processing? The convertToValues supports reading a record at time, avoiding loading the entire string into memory. The key will be don’t load the entire results of convertToValues into memory either. Read a record (or a many with some custom work), process it completely, then do the next.
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services