updated the vmem in testcase and matlabdriver