A partial portable solution might just be to check the free space the first time the cache allocate function is called, and then keep track of records allocated, deallocated and resized. But this won't take into account databases beamed in, deleted, etc.

Alternately, one could reserve an amount of space equal to the 242K plus the dbcache size. But that would really be a very high memory requirement.

Alex
p.s. I think I'll set some temporary databases like the plkrcache or the uncompress one to have the recycled bit on, so they disappear on a crash.
_______________________________________________
plucker-dev mailing list
[email protected]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to