>>> Wouldn't it be simpler just to base the collection frequency >>> directly on the total number of objects in the heap? >>>> Using what precise formula? >> The simplest thing to try would be >> middle_collections >= num_objects_in_heap * some_constant So what value is some_constant? Regards, Martin