1. A computer-implemented method of managing dynamically allocated memory comprising: accepting input that indicates an amount of allocated unmanaged memory that is separate from memory that is managed as managed objects on a heap; associating the input with a managed object from among the managed objects on the heap; and adjusting a collection strategy for collecting the managed object based on the input.