this is really more of an issue of creating a custom memory policy to handle bulk loads gracefully. There is mechanism for counting i.e. based on how many instvars an object has plus taking into account the object header and or course its a recursive process to understand the total weight of a particular object but I forget how things are weighted i.e. the byte count. Check out the advanced profilers parcel there are some stats regarding memory consumption associated to a particular measured process. In a 64 bit vm the answer should be essentially any entire db could be cached in a VW image in a 32 bit vm the answer is quite a lot

. In my shop we do "database caching".
hth,