Bug 2039: Set max_size from memory quota.
Bug 2039: Set max_size from memory quota.

Change-Id: I2731669dca25176a1061ec9a60bf40fe9905b84e
Reviewed-on: http://review.northscale.com/1901
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

nimishzynga/ns_server,ceejatec/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,daverigby/ns_server,pavel-blagodov/ns_server,nimishzynga/ns_server,membase/ns_server,vzasade/ns_server,nimishzynga/ns_server,mschoch/ns_server,nimishzynga/ns_server,nimishzynga/ns_server,ceejatec/ns_server,ceejatec/ns_server,vzasade/ns_server,t3rm1n4l/ns_server,daverigby/ns_server,mschoch/ns_server,ceejatec/ns_server,vzasade/ns_server,ceejatec/ns_server,mschoch/ns_server,daverigby/ns_server,membase/ns_server,t3rm1n4l/ns_server,membase/ns_server,vzasade/ns_server,pavel-blagodov/ns_server,pavel-blagodov/ns_server,mschoch/ns_server,pavel-blagodov/ns_server,membase/ns_server,mschoch/ns_server,membase/ns_server,t3rm1n4l/ns_server,daverigby/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,membase/ns_server,ceejatec/ns_server,daverigby/ns_server