Apply memory limits to mapserv