From 1850a187d55839c982f5d9b13566224298131eb5 Mon Sep 17 00:00:00 2001 From: Jake Moshenko Date: Tue, 7 Oct 2014 13:13:03 -0400 Subject: [PATCH] Skip images with memory errors on the backfill. --- tools/uncompressedsize.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/uncompressedsize.py b/tools/uncompressedsize.py index 0eeaddaae..53bb74126 100644 --- a/tools/uncompressedsize.py +++ b/tools/uncompressedsize.py @@ -64,6 +64,8 @@ def backfill_sizes_from_data(): except model.InvalidImageException: logger.warning('Storage with uuid no longer exists: %s', uuid) + except MemoryError: + logger.warning('MemoryError on %s', uuid) if __name__ == "__main__": logging.basicConfig(level=logging.DEBUG)