sandbox_cache/Ubuntu 22.04/contents_mapping-jammy-amd64.pickle is 753 MB in size. `_contents_mapping` uses `pickle.load` to load the whole cache into memory.
Idea: Instead of building the whole cache in memory and pickle it, use sqlite3 (part of the Python standard library) to build a database and query the database. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2073787 Title: apport-retrace needs more than 1 GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2073787/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
