the dpkg-buildpackage is being killed because the ppa builder goes out of memory

Asked by Paulo Dias on 2016-04-30

im the maintainer of the padoka ppa, and lately when i try to build the llvm framework from git, the ppa is running out of memory and killing dpkg-buildpackage, is there any workaround for this?

see https://launchpadlibrarian.net/257217200/buildlog_ubuntu-xenial-amd64.llvm-toolchain-snapshot_1%3A3.9~svn268042-0~x~padoka0_BUILDING.txt.gz and https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/llvm-snapshot/+build/9669573 for details.

thanks in advance, this is most annoying

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
2016-04-30
Last reply:
2016-04-30
Colin Watson (cjwatson) said : #1

The builders have 8GiB of memory and a reasonable amount of swap too, which is not a particularly stingy provision. If your build is running out of memory then the chances are it's in fact using really quite a lot of it. There are various linker options documented as reducing the amount of memory used during linking; I would recommend trying those. Reducing the parallelism of your build might help too.

Colin Watson (cjwatson) said : #2

Sorry, I misspoke; for x86 it's currently 4GiB of RAM I think. We do intend to raise that in future, but even so, you should investigate memory-reduction measures first.

Can you help with this problem?

Provide an answer of your own, or ask Paulo Dias for more information if necessary.

To post a message you must log in.