> One can indirectly (and more consistently) limit the number of > allocated resources in this fashion (indeed, the number of open file > descriptors) by determining the amount of memory consumed by that > resource as proportional to the size of the resource. If I as a user > have 64,000 allocations of type Foo, and struct Foo is 64 bytes, then > I hold 1,000 Foos.
And by this, I clearly mean 64,000 bytes of allocated Foos. --dho