Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileSystemObject Readline/Writeline Method for large file kills memory

Status
Not open for further replies.

TheBike

Technical User
Feb 27, 2003
1
GB
I have a macro which is using filesystemobjects and the readline, writeline method. The general purpose of the macro is to convert anything with a non-standard date format to be standard.

When the size of the file to be analysed goes above 300Mb, the readline function has used so much of the PC's memory that it keeps swapping between conventional and virtual memory slowing the macro down to a crawl.

Is there any way of flushing system memory between writes and reads to reduce the memory requirement?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top