Mailinglist Archive: opensuse-buildservice (123 mails)

< Previous Next >
Re: [opensuse-buildservice] Build aborted due to virtual memory exhaustion
On Friday, September 15, 2017 03:46 PM, Adrian Schröter wrote:
On Freitag, 15. September 2017, 09:27:44 CEST wrote lukshuntim@xxxxxxxxx:

I tried to build trilinos, which is quite a large package, on I'm using the osc commanad line client. The build
aborted with this message

[ 9543s] virtual memory exhausted: Cannot allocate memory

Is there anything I can do to overcome it? Is it possible to assign more
virtual memory on the client side, for example?

define a constraint:

A follow-up on this topic, after a few trial-and-error runs.

By setting the size of the "memory" constraint to 12GB and also limiting the no. of parallel make jobs to 4, I got it built successfully, in a little over 6 hours.

If I do not limit the no. of parallel make jobs, it seems that the more memory I request, the more parallel make jobs will be spawn, ultimately resulting in memory exhaustion. It also seems any request of 16G memory or more is not possible.

Is there any hard limits on the resources? Are there guidelines to how to request appropriate constraints for more efficient use of the resources? A build failure is a waste of resources, after all.

-- st
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >