2024/10/18

Newest at the top

2024-10-18 12:27:54 +0200 <tomsmeding> if a haskell package needs more than 3 GiB of RAM to compile on a normal linux distro without excessive stuff happening, the fault is with that package, not with you
2024-10-18 12:27:33 +0200 <tomsmeding> mari-estel: let me know what package it fails on if you compile with -j1 and it still fails
2024-10-18 12:27:11 +0200 <tomsmeding> right
2024-10-18 12:27:04 +0200 <geekosaur> it will only persist if you add it as a swap entry in /etc/fstab
2024-10-18 12:27:02 +0200 <mari-estel> already tried with no other services running, but i am confident in -j1 and the rest
2024-10-18 12:26:30 +0200 <briandaed> also there maybe processes that could be stopped, services or something that is not crucial
2024-10-18 12:26:20 +0200 <mari-estel> (:
2024-10-18 12:26:20 +0200euleritian(~euleritia@dynamic-176-000-162-113.176.0.pool.telefonica.de) (Ping timeout: 260 seconds)
2024-10-18 12:26:13 +0200 <tomsmeding> mari-estel: I have some experience building e.g. the haskell playground on a cheap VPS :p
2024-10-18 12:25:51 +0200 <tomsmeding> (which is probably exactly as you want it)
2024-10-18 12:25:43 +0200 <tomsmeding> fairly sure this does not persist after a reboot
2024-10-18 12:25:42 +0200 <mari-estel> plenty of hints, cheers tomsmeding!
2024-10-18 12:25:24 +0200 <tomsmeding> s/swpafile/swapfile/
2024-10-18 12:25:13 +0200 <tomsmeding> if that doesn't work: keep passing -j1 to cabal, but also: sudo fallocate -l 1G /swapfile; sudo chmod 0600 /swapfile; sudo mkswap /swpafile; sudo swapon /swapfile
2024-10-18 12:24:44 +0200 <mari-estel> cool stuff, trying that now...
2024-10-18 12:24:34 +0200 <tomsmeding> (depending on how many cores it ran on before)
2024-10-18 12:24:32 +0200 <mari-estel> hmm
2024-10-18 12:24:25 +0200 <tomsmeding> -j1 is an easy way to divide memory usage by like 4
2024-10-18 12:24:04 +0200 <tomsmeding> well, compiling multiple things simultaneously means you now need to fit _two_ GHCs in RAM :p
2024-10-18 12:23:47 +0200 <mari-estel> i will try that but... how would a single core help?
2024-10-18 12:23:30 +0200 <tomsmeding> mari-estel: what happens if you just `cabal install -j1 hoogle`?
2024-10-18 12:23:29 +0200 <mari-estel> well hoogle fails and i think it could only be because of memory
2024-10-18 12:23:15 +0200 <mari-estel> hum i see. I would rather go for uncompressed swapped then. Any pointers to linux manuals i should read?
2024-10-18 12:23:12 +0200 <tomsmeding> 3 GiB should be enough to compile most haskell things
2024-10-18 12:22:54 +0200 <tomsmeding> I believe zram functions by adding a swap device _in RAM_ that is compressed
2024-10-18 12:22:44 +0200 <tomsmeding> which helps to the extent that processes store compressible stuff in RAM
2024-10-18 12:22:43 +0200 <mari-estel> yeah 3 GiB i think
2024-10-18 12:22:33 +0200 <tomsmeding> zram is for transparently compressing RAM
2024-10-18 12:22:27 +0200 <tomsmeding> "3k MiB", is that 3 GiB?
2024-10-18 12:22:10 +0200 <mari-estel> 3k MiB, i guess zramctrl is for adding swap, will read about that eventually. I guess this is ARM
2024-10-18 12:21:30 +0200 <tomsmeding> also what architecture and linux distro, perhaps someone else can compile for you
2024-10-18 12:21:07 +0200 <tomsmeding> mari-estel: how much RAM; can you add swap?
2024-10-18 12:18:40 +0200mari-estel(~mari-este@user/mari-estel) mari-estel
2024-10-18 12:18:25 +0200mari-estel(~mari-este@user/mari-estel) (Remote host closed the connection)
2024-10-18 12:12:21 +0200leah2(~leah@vuxu.org) (Ping timeout: 252 seconds)
2024-10-18 12:12:04 +0200mreh(~matthew@host86-128-2-51.range86-128.btcentralplus.com) (Read error: Connection reset by peer)
2024-10-18 12:06:01 +0200 <mari-estel> alright there is a link to https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/…
2024-10-18 12:03:35 +0200 <mari-estel> "set up and control zram devices". Sorry for the slight offtopic but... what is a zram device?
2024-10-18 12:02:42 +0200 <mari-estel> oh, zramctrl. Apropos helped
2024-10-18 12:02:27 +0200ljdarj(~Thunderbi@user/ljdarj) ljdarj
2024-10-18 12:02:25 +0200 <mari-estel> huh "No manual entry"
2024-10-18 12:02:10 +0200 <mari-estel> cheers, gonna learn about zram
2024-10-18 12:01:51 +0200 <briandaed> mari-estel? is it linux? maybe zram can help
2024-10-18 12:00:23 +0200driib318(~driib@vmi931078.contaboserver.net) driib
2024-10-18 12:00:04 +0200mari-estelstill has not solved how to compile hoogle on this low-memory machine
2024-10-18 11:59:48 +0200driib318(~driib@vmi931078.contaboserver.net) (Quit: The Lounge - https://thelounge.chat)
2024-10-18 11:53:42 +0200synchromesh(~john@2406:5a00:2497:300:e0d5:e11:3d9d:e9de) (Quit: WeeChat 4.0.5)
2024-10-18 11:49:01 +0200mari-estel(~mari-este@user/mari-estel) mari-estel
2024-10-18 11:47:04 +0200xff0x(~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp) (Ping timeout: 252 seconds)
2024-10-18 11:46:55 +0200rosco(~rosco@175.136.23.238) (Quit: Lost terminal)