CLDIDE-2162 Added utils class for converting of memory size

@skabashnyuk 
check NPE