1. A computer-implemented method for determining whether to apply one or more mitigation actions when executing a memory operation for a calling software module, the method comprising: executing at least one first memory operation for the calling software module, the executing comprising applying the one or more mitigation actions; evaluating whether the one or more mitigation actions successfully prevented a memory error from impacting the calling software module; determining the likelihood that the one or more mitigation actions reduces memory errors affecting the calling software module; and subsequently executing at least one second memory operation for the calling software module in conjunction with which the one or more mitigation actions is selectively applied based on the likelihood, the executing comprising: executing the at least one second memory operation for the calling software module in accordance with the one or more mitigation actions if the determined likelihood is above a threshold, and executing the at least one second memory operation for the calling software module without the one or more mitigation actions if the determined likelihood is below a threshold.