1 Reply Latest reply on Dec 13, 2006 7:19 AM by TSB

    CFFILE and Freeing Up Memory

    bill s
      I am creating multiple files using CFFile. These are very large files and I have broken out the the process using loops, thinking that would resolve the memory issues I am having. It is successful at writing almost 1/2 the files, then the process stops after about 1.25 hours. Eventually I get a CMemoryException: Out of memory in the Application log file. If I break the files out in groups and run it for each group, I have no problems. I would rather run the process at once for all folders.

      Is there anyway I can release memory after the first query pass (after the first files are written)?

      Thanks!

      Code is attached: