Added check for usbmount configuration file existence.
Allow specifying memory size as env variable.
Fixed invalid memory check.