Hi Ian You say that you are throttling the process to create a pause between batches.
Is your throttle part of the function that creates the threads? (Given that you say that memory isn't released until this function completes, this probably wouldn't help.) Look at things another way - if cfthread didn't exist, you would probably be using cfschedule to throttle the process - ie create PDFs 1 - 20, then 21 - 40, and so on. Can you cfschedule your function (that creates all 1300 threads) in batches, so that this function has a chance to complete (and theoretically release the memory that it's threads consume)? Still use threads within this function, but if you only process 20 threads at a time, this might help. Antony On Thu, Jun 19, 2008 at 5:04 AM, Ian Skinner <[EMAIL PROTECTED]> wrote: > > > The whole point of this is the create ~1300 multiple page pdf form > letters that we know will not all fit into memory at once. How can we > control this so that the process can be allowed to finish? > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307699 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4