> Umm, but if the memory use goes up and down, the variables won't be a > function of x. Don't you mean 'total memory ever allocated' -- which > is certain to be monotonic increasing? Sure; see the code. -- Roberto