Re: [OE-core] [PATCH v3 3/3] image_types.bbclass: Set memory usage limit and CPU threads for xz

2019-02-15 Thread Khem Raj
On Fri, Feb 15, 2019 at 5:44 AM Otavio Salvador wrote: > > On Tue, Feb 12, 2019 at 3:48 AM Khem Raj wrote: > > > > when building with opkg backend and huge packages e.g. chromium/llvm all > > going in parallel, memory pressure causes xz to catapult with > > > > do_package_write_ipk: Failed to

Re: [OE-core] [PATCH v3 3/3] image_types.bbclass: Set memory usage limit and CPU threads for xz

2019-02-15 Thread Otavio Salvador
On Tue, Feb 12, 2019 at 3:48 AM Khem Raj wrote: > > when building with opkg backend and huge packages e.g. chromium/llvm all > going in parallel, memory pressure causes xz to catapult with > > do_package_write_ipk: Failed to create package, opkg-build failed with: xz: > (stdin): Cannot allocate

[OE-core] [PATCH v3 3/3] image_types.bbclass: Set memory usage limit and CPU threads for xz

2019-02-11 Thread Khem Raj
when building with opkg backend and huge packages e.g. chromium/llvm all going in parallel, memory pressure causes xz to catapult with do_package_write_ipk: Failed to create package, opkg-build failed with: xz: (stdin): Cannot allocate memory since there are many tasks going on in parallel, xz