Possible UI panel memory leak? When I toggle the panel checkbox created by the following code the memory usage count in the info bar starts to climb at an alarming rate. Any idea why this is happening?

import bpy


class HelloWorldPanel(bpy.types.Panel):
    """Creates a Panel in the View3D UI panel"""
    bl_label = "Mesh Stats"
    bl_idname = "MESHSTATS_PT_hello"
    bl_space_type = 'VIEW_3D'
    bl_region_type = 'UI'

    def draw(self, context):
        layout = self.layout
        row = layout.row()
        row.prop(context.scene, "my_prop")


def register():
    bpy.types.Scene.my_prop = bpy.props.BoolProperty(name="Prop name", description="Some tooltip", default=True)
    bpy.utils.register_class(HelloWorldPanel)

def unregister():
    bpy.utils.unregister_class(HelloWorldPanel)

if __name__ == "__main__":
    register()
Blender allocates memory for the undo stack when you perform undo-able actions. There is a limit to this allocation determined by the number of undo steps you have specified. See "User Preferences->Editing->Undo->Steps".