On 8/9/2011 12:23 PM, Tracy Pearson wrote: > MB Software Solutions, LLC wrote on 2011-08-09: >> 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." >> >> Here's the line: IF ALINES(aChunks,FILETOSTR(This.InputFile))> 0 >> >> Wondering if Ed Leafe's SetMemory would be good here? Other ideas for >> clearing out memory? My first line of attack is to do a CLOSE DATA ALL >> before processing, as this doesn't use input tables, but again processes >> flat files. >> >> tia, >> --Mike >> > > Mike, > > Are you releasing the array by calling > RELEASE aChucks
Well, it was a locally defined variable, but I just added the explicit RELEASE to see if that helps. Thanks for the 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.

