On Friday, September 15, 2017 03:46 PM, Adrian Schröter wrote:
On Freitag, 15. September 2017, 09:27:44 CEST wrote lukshuntim@gmail.com:
Hi,
I tried to build trilinos, which is quite a large package, on build.opensuse.org. 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:
http://openbuildservice.org/help/manuals/obs-reference-guide/cha.obs.build_j...
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. Regards, -- st -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org