added more functions to test ENOMEM issue related to openvz container privmpages paramter on Node 0.10.x