Sample heap dumps automatically.