add heap sample