record free ram in the heartbeat