On 8/9/2011 12:32 PM, Jarvis, Matthew wrote: >> >> I've got an inherited app that processes flat files--some big ones >> too---and I'm looking for areas to clear out memory because after I >> process one file, it then chokes on the ALINES line for subsequent > runs >> says "There is not enough memory to complete this operation." > > > You say you inherited the app - did it process files this size before? > > If so, what's changed? > > Or did you go in there and 'fix' something....<g>
lol...well, I don't think my mods would have caused this (...famous developer's words!) I'm not sure it ever processed files this large. Here's my latest idea: Instead of reading the file completely into an array, I process it line by line with LLFF. Think that's a worthy idea? -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

