CPU Percentage: after realloc the pointer becomes invalid; 

need to work on new pointer else we will crash.

fixes https://gist.github.com/toni-moreno/a2f80021535f87202de7