VFP9SP1 -- choking on ALINES ("not enough memory")

Author: MB Software Solutions, LLC

Posted: 2011-08-09 at 12:18:50

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 Babcock, MCP

MB Software Solutions, LLC

President, Chief Software Architect

http://mbsoftwaresolutions.com

http://fabmate.com

http://twitter.com/mbabcock16

_______________________________________________

Post Messages to: ProFox@leafe.com

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/4E415DEA.3050705@mbsoftwaresolutions.com

** 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.

©2011 MB Software Solutions, LLC