Hello,
you should modify your php configuration at your host by increasing memory_limit setting in php.ini file at your server.
Otherwise, you can:
- limit the number of pages included in sitemap at Configuration page
- exclude a part of you pages from indexing with "Do not parse URLs" option