'static-max' as read from xenstore is string, so needs to be converted to int. Additionally units needs to be adjusted (MB vs kB).