Allow to configure max mapsize