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