1. A computer implemented method for managing thermal condition in a memory in a data processing system, the computer implemented method comprising: identifying that a threshold value of a thermal condition of the memory one of (i) has exceeded, and (ii) is likely to be exceeded; identifying a portion of a first workload as being a cause of exceeding the threshold; identifying a second portion of a second workload, the second portion not causing the threshold to be exceeded when executed; and interleaving a set of operations corresponding to the first portion with a second set of operations corresponding to the second portion.