So , I have java code where i need to intentionally increase the CPU usage and the memory usage in order to increase the cpu's temperature.
I read a few posts including this which talk about memory leak and such...Is there something(does not need to be fairly complex) which will help me gradually increase the CPU and the memory usage and also not cause the machine to crash eventually .