Re: how to deal with "virtual memory exhausted: Cannot allocate memory"?
Aurelien Jarno <[email protected]>
| Newsgroups | gmane.linux.debian.ports.mips |
|---|---|
| Message-ID | <[email protected]> |
On 2016-10-15 11:00, Yaroslav Halchenko wrote: > > On Sat, 15 Oct 2016, Adrian Bunk wrote: > > > > The build log says > > > > make -j4 > > > > > This is due to the following in debian/rules: > > > > dh $@ --parallel --sourcedirectory=src > > > > > Running 4 instances of the compiler in parallel can quadruple > > > > the memory usage. > > > > That is true, however the amount of memory per 32-bit process is > > > unchanged and still limited to 2GB, so I doubt it will make any > > > change. > > > The error message just tells that mmap() failed with ENOMEM, > > but looking at the hardware specs of the autobuilders I agree > > with you that my suggestion is not likely to help here. > > we will discover relatively shortly... uploaded -3 which shouldn't use > --parallel on mipses Thanks for the upload. Can you please however disable --parallel only on mips and mipsel? mips64el is a 64-bit architecture and is not affected by this issue. Thanks. Aurelien