Re: [OE-core] [PATCH] bitbake.conf: update way of setting XZ_MEMLIMIT

2021-08-24 Thread Andre McCurdy
On Tue, Aug 24, 2021 at 7:15 AM Richard Purdie wrote: > > On Tue, 2021-08-24 at 17:40 +0800, Changqing Li wrote: > > From: Changqing Li > > > > Update way of setting XZ_MEMLIMIT, considering scenario that > > running bitbake in container, to avoid OOM Killer of xz. > > > > For example: > >

Re: [OE-core] [PATCH] bitbake.conf: update way of setting XZ_MEMLIMIT

2021-08-24 Thread Richard Purdie
On Tue, 2021-08-24 at 17:40 +0800, Changqing Li wrote: > From: Changqing Li > > Update way of setting XZ_MEMLIMIT, considering scenario that > running bitbake in container, to avoid OOM Killer of xz. > > For example: > Container has memory limit of 30G, and host memory is 300G. 'xz >

[OE-core] [PATCH] bitbake.conf: update way of setting XZ_MEMLIMIT

2021-08-24 Thread Changqing Li
From: Changqing Li Update way of setting XZ_MEMLIMIT, considering scenario that running bitbake in container, to avoid OOM Killer of xz. For example: Container has memory limit of 30G, and host memory is 300G. 'xz --memlimit=50% ...' will get host memory, so the limit for xz is 150G. And