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) will be exceeded; identifying a portion of a first workload as being a cause of exceeding the threshold in a first area of the memory, wherein the first workload comprises an instruction which when executed by a processor causes an operation using the first area of the memory and wherein the operation causes an alteration in the thermal condition of the first area of the memory; identifying a second portion of a second workload, the second portion not causing the threshold to be exceeded in the first area of the memory when executed, wherein the second workload comprises a second instruction which when executed by the processor causes a second operation using a second area of the memory and wherein the second operation causes an alteration in the thermal condition of the second area of the memory; and interleaving a set of operations corresponding to the first portion with a second set of operations corresponding to the second portion.