diff --git a/lib/core/common.py b/lib/core/common.py index b9aeb7a0e..37555c2e0 100755 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1741,7 +1741,7 @@ def getConsoleWidth(default=80): if len(items) == 2 and items[1].isdigit(): width = int(items[1]) - except OSError: + except (OSError, MemoryError): pass if width is None: