Hi All,

> -----Original Message-----
> From: Alejandro Enedino Hernandez Samaniego
> Sent: Monday, January 15, 2018 11:00 PM
> To: Manjukumar Harthikote Matha <[email protected]>; openembedded-
> [email protected]; [email protected]; meta-
> [email protected]
> Subject: RE: [meta-xilinx] liblzma: Memory allocation failed on do_package_rpm
> 
> Hey Manju,
> 
> I'd like to see if I can reproduce this, could you please send the the steps 
> you
> followed?
> 
> Thanks!
> 
> Alejandro
> 
> -----Original Message-----
> From: [email protected] [mailto:meta-xilinx-
> [email protected]] On Behalf Of Manjukumar Harthikote Matha
> Sent: Sunday, January 14, 2018 10:20 PM
> To: [email protected]; [email protected];
> [email protected]
> Subject: [meta-xilinx] liblzma: Memory allocation failed on do_package_rpm
> 
> All,
> 
> Has anybody seen this error?
> 
> Finished binary package job, result 0, filename (null)
> error: create archive failed: cpio: write failed - Cannot allocate memory
> error: liblzma: Memory allocation failederror: liblzma: Memory allocation
> failedFinished binary package job, result 2,
> 
> .......
> 
> RPM build errors:
> |     Deprecated external dependency generator is used!
> |     Deprecated external dependency generator is used!
> |     Deprecated external dependency generator is used!
> |     Deprecated external dependency generator is used!
> |     Deprecated external dependency generator is used!
> |     Deprecated external dependency generator is used!
> |     Deprecated external dependency generator is used!
> |     Deprecated external dependency generator is used!
> |     Deprecated external dependency generator is used!
> |     liblzma: Memory allocation failed    liblzma: Memory allocation failed  
>   liblzma:
> Memory allocation failed    liblzma: Memory allocation failed    liblzma: 
> Memory
> allocation failed    liblzma: Memory allocation failed
> 
> This happens in do_package_rpm task on various recipes, 
> coreutils/libgpg/diffutils
> etc.
> 
> The host machine has good amount on memory, 256G to be exact. When I see the
> error and issue free -h command, I still see ~120G free memory available.
> This is a RHEL 7.2 machine and I am running rocko baseline.
> 
> Any reason why this would happen? Where should I look to fix this issue?
> 


This seems to happen if your server configuration has (not a standard 
configuration)
vm.overcommit_memory = 2
vm.overcommit_ratio = 90

And probably this as well
kernel.unknown_nmi_panic = 1

Thanks,
Manju
-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to