[core] Increase default shared memory to 2048 MiB

This should still be reasonable for most machines people are going to run games on,
and means no manual increases are required for every game it has been previously
needed for.
This commit is contained in:
derrod 2020-12-18 17:26:51 +01:00
parent 254c22eaec
commit 104b928e3a

View file

@ -811,7 +811,7 @@ class LegendaryCore:
self.log.debug(f'Using base URL: {base_url}')
if not max_shm:
max_shm = self.lgd.config.getint('Legendary', 'max_memory', fallback=1024)
max_shm = self.lgd.config.getint('Legendary', 'max_memory', fallback=2048)
if dl_optimizations or is_opt_enabled(game.app_name, new_manifest.meta.build_version):
self.log.info('Download order optimizations are enabled.')