@tcaswell suggest that we add calls to yield from bps.checkpoint() in between the lines of a user batch plan to clear out some temporary caches. It is expected this will help with memory management (see #500, #522, maybe #546, for a few recent examples of problems with memory).
@tcaswell suggest that we add calls to
yield from bps.checkpoint()
in between the lines of a user batch plan to clear out some temporary caches. It is expected this will help with memory management (see #500, #522, maybe #546, for a few recent examples of problems with memory).Perhaps after this code:
https://github.com/APS-USAXS/ipython-usaxs/blob/981b4743d77ecf92d4f75768dd9ec3019215109b/profile_bluesky/startup/instrument/plans/command_list.py#L458-L460