You need to sign in to do that
Don't have an account?
Check heap usage of a batch from outside
Salesforce provides Limits.getHeapSize() to check the heap memory usage within a batch. But I want a way (that can be a complex way, no issue) to track this from outside of the batch. You can consider this as an admin process which is trying to monitor the running batch over a time period. We get job Id etc for the running batches. can we use that? I saw the REST API call for Limits is not useful for this scenario, as it returns a general/overall metrics.