Handle different sizes (G,K) for the PermGen warning