>Bruce,
>
>I don't know for sure how the memory usage builds up. I just saw a similar thread a while back and that was the solution.
Well, I don't understand why (maybe there's a stack or something), but it works. I just put a MOD() in the loop to close tables periodically, and that does the trick. Thanks much for your help (and to Jim Nelson who suggested it too).
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.