[NGRINDER-712] Detect the perm gen size and show error if not enough.
Fix the wrong number representation bug