Skip to content

Commit 104b928

Browse files
committed
[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.
1 parent 254c22e commit 104b928

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

legendary/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ def prepare_download(self, game: Game, base_game: Game = None, base_path: str =
811811
self.log.debug(f'Using base URL: {base_url}')
812812

813813
if not max_shm:
814-
max_shm = self.lgd.config.getint('Legendary', 'max_memory', fallback=1024)
814+
max_shm = self.lgd.config.getint('Legendary', 'max_memory', fallback=2048)
815815

816816
if dl_optimizations or is_opt_enabled(game.app_name, new_manifest.meta.build_version):
817817
self.log.info('Download order optimizations are enabled.')

0 commit comments

Comments
 (0)