allow double values for memory limits