***: MeltedLux has joined #arpnetworks
qbit has quit IRC (Quit: WeeChat 1.7.1)
qbit has joined #arpnetworks
johnny-o has quit IRC (Quit: leaving)
qbit[m] has quit IRC (Ping timeout: 246 seconds)
qbit[m] has joined #arpnetworks
qbit[m] is now known as Guest23809
bmacs has joined #arpnetworks
qbit has quit IRC (Ping timeout: 240 seconds)
qbit has joined #arpnetworks
DaCa has quit IRC (Quit: WeeChat 1.2)
DaCa has joined #arpnetworks
bmacs has quit IRC (Quit: bmacs)
reardencode has quit IRC (Read error: Connection reset by peer)
reardencode has joined #arpnetworks
bmacs has joined #arpnetworks
bmacs has quit IRC (Quit: bmacs) kevr: how would i go about allocating a swapfile on disk? fallocate won't run mercutio: most people don't really nede swap these days
i'm not sure what fallocate is
i'd use dd, mkswap, swapon if i was to do such.
but it's better to stay within memory limits
also executables can be paged out for the slightly over state of affairs
usually what really pushes over is high working set, which you tend to want to stay in ram kevr: mercutio: i'm having a problem running a reactjs build on the server mercutio: what's it saying? kevr: for some reason, javascript people don't care about memory size, so they just require a fuckton mercutio: is it leaking? kevr: mercutio: FATAL ERROR: NewSpace::Rebalance Allocation failed - process out of memory mercutio: i am finding things saying it uses quite a lot of memory like 100MB+ kevr: not that it's leaking, but it uses a GC, and they dont really use the GC until you hit a certain cap mercutio: but that doesn't seem like enough tob e causing issues
yeah kevr: it uses way more than that
npm has a 4gb cap by default apparently
or, node mercutio: well try dd if=/dev/zero of=swapfile bs=1024k count=512 or something
mkswap swapfile
swapon swapfile kevr: yeah, gotcha mercutio: but you may be able to tweak it somehow to use less memory
i'm hoping it's just overcommitting
and not actually touching the pages
that's 512mb btw kevr: yeah
yeah, that gave it enough space to run fine mercutio: interesting kevr: not sure why, i've always used fallocate to make swapfiles
heh mercutio: is it touching the sawp?
swapon -s
or free kevr: yeah
it used a little bit.
...couple kb mercutio: wtf kevr: -_- mercutio: that's funny kevr: lol
on the subsequent run it used 100mb
...wtf mercutio: ok kevr: whatever. mercutio: that sounds like it might be leaking :) kevr: worked out.
yeah mercutio: maybe leave it for a while BryceBot: That's what she said!! mercutio: and see if it keeps growing ***: bmacs has joined #arpnetworks
bmacs has quit IRC (Quit: bmacs)
bmacs has joined #arpnetworks
bmacs has quit IRC (Quit: bmacs)
bmacs has joined #arpnetworks
bmacs has quit IRC (Quit: bmacs)
ziyourenxiang has joined #arpnetworks
bmacs has joined #arpnetworks