summaryrefslogtreecommitdiffstats
path: root/LICENSE.GPL-2.0-only
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-17 16:18:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-18 13:57:40 +0000
commitef29309d0b512b64d024e383e7baff22c727711c (patch)
tree26e98b5516d2c97ee5fd79b45586b1d33cff7d6a /LICENSE.GPL-2.0-only
parent95687be83e716220eb3893b67428f97fd59fc2c5 (diff)
downloadbitbake-1.44.2.tar.gz
cooker/siggen: Empty siggen cache during parsing2019-10.2-zeus1.44.2
When parsing recipes its apparent the memory usage of bitbake rises linearly with number of recipes parsed. It shouldn't. Using tracemalloc (thanks for the tip Joshua Lock) it was clear that the dependency information left behind in siggen was the culprit. Add a new method to allow us to drop this information. We don't need it after the recipe has been parsed and hashes calculated (at runtime its different but only the currently executing task would be in memory). This should give signficant memory usage improvements for bitbake and that in turn should help speed on more constrained systems, as well as when used in multiconfig environments. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'LICENSE.GPL-2.0-only')
0 files changed, 0 insertions, 0 deletions