From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] =dev-lang/spidermonkey-60.5.2_p0-r4 fails @world update
Date: Fri, 19 Jun 2020 18:08:49 +0100 [thread overview]
Message-ID: <1772453.CQOukoFCf9@lenovo.localdomain> (raw)
In-Reply-To: 3324544.iIbC2pHGDl@lenovo.localdomain
[-- Attachment #1: Type: text/plain, Size: 1329 bytes --]
On Friday, 19 June 2020 17:10:54 BST urpion@gmx.com wrote:
> On Fri, Jun 19, 2020 at 04:52:30PM +0100, Michael wrote:
> > NP, did you get an OOM error in dmesg when this happened by any chance?
> > You don't seem to have much RAM, you have no swap and the number of jobs
> > is relatively high for memory hungry compiles.
> >
> > It could be a bug, but unless a report has been filed already in BGO to
> > this effect, I suggest you add a swapfile, enable it, and try again with
> > MAKEOPTS="-j1" or "-j2". Please ask if you need more detail.
>
> I was thinking about -j1. I tried -j4. I thought I didn't need swap with
> >=4GB of RAM, but it makes sense. My machine kinda crawls trying to build
> that package. Oh man, I'll have to re-partition:-(
A single compile job on a big package can eat >3G of RAM. I don't know what
spidermonkey jobs may grow up to, but drop it down to '-j1' and see what you
get.
A swapfile which you enable on a per ebuild basis if required, can be handy.
You can configure this in a package.profile file. On an ext4 fs you could do
this as root:
touch swapfile
dd if=/dev/zero of=swapfile bs=4096 count=400000
mkswap -L Swappage swapfile
swapon swapfile
If it is a btrfs you'll need to tweak things to be able to used it as a swap:
https://wiki.archlinux.org/index.php/Swap#Swap_file
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2020-06-19 17:09 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5eec6774.1c69fb81.7c1cf.736eSMTPIN_ADDED_BROKEN@mx.google.com>
2020-06-19 7:37 ` [gentoo-user] =dev-lang/spidermonkey-60.5.2_p0-r4 fails @world update Dale
2020-06-19 10:15 ` urpion
2020-06-19 12:48 ` Jack
2020-06-19 14:45 ` Dale
2020-06-19 15:35 ` urpion
2020-06-19 15:52 ` Michael
2020-06-19 16:10 ` urpion
2020-06-19 16:55 ` Peter Humphrey
2020-06-19 17:08 ` Michael [this message]
2020-06-19 22:56 ` urpion
2020-06-20 3:18 ` [gentoo-user] Re: [SOLVED] " urpion
2020-06-20 10:29 ` Michael
[not found] ` <5eece98e.1c69fb81.660a3.a90bSMTPIN_ADDED_BROKEN@mx.google.com>
2020-06-19 17:19 ` [gentoo-user] " Dale
2020-06-19 23:04 ` urpion
[not found] <20200619161054.GA3389@imap.gmx.com>
2020-06-19 16:57 ` Jack
2020-06-19 23:07 ` urpion
2020-06-20 7:57 ` Peter Humphrey
2020-06-22 1:48 ` Sean O'Myers
2020-06-22 2:09 ` Dale
2020-06-19 7:20 urpion
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1772453.CQOukoFCf9@lenovo.localdomain \
--to=confabulate@kintzios.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox