Made memory profile rate configurable, which is useful for tracking allocations smaller than the default of 512KB