[NGRINDER-613] Make script error transfered
[NGRINDER-608] Negative memory setting in agent when there is not enough
free memory 
- Use actual free memory