The proposal to merge curtin:integration-memory-error into curtin:master has 
been updated.

Commit message changed to:

tests: fix memory error in integration test when we allocate a 2GiB string

When create=True, the function add_image does something similar to what
'dd if=/dev/zero bs=1 count={size}' would do.

That said, our implementation allocates a string of the requested size
in memory. This fails with MemoryError on systems with limited RAM
available.

Instead, we now call 'dd', which is more memory efficient.

For more details, see:
https://code.launchpad.net/~curtin-dev/curtin/+git/curtin/+merge/442650
-- 
Your team curtin developers is requested to review the proposed merge of 
curtin:integration-memory-error into curtin:master.


-- 
Mailing list: https://launchpad.net/~curtin-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~curtin-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to