#16106: [kernel] vfork: Out of memory when building haiku with plenty of RAM
---------------------------+-----------------------------
Reporter: diver | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/Kernel | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Platform: All
---------------------------+-----------------------------
This is hrev54249 x86_64.
Building Haiku fails with 1.5GB RAM and the same swap size.
Could it be that the kernel can't release cached memory or perhaps swap is
not used for some reason?
{{{
haiku.hpkg: Removing and re-creating package contents dir ...
haiku.hpkg: Collecting package contents ...
haiku.hpkg: mimeset'ing package contents ...
haiku.hpkg: Creating the package ...
DownloadLocatedFile1 generated/download/be_book-2008_10_26-3-any.hpkg
vfork: Out of memory
}}}
This is what I get when I try to build haiku with `jam @release-anyboot`
despite having so much RAM. Jam uses 1GB and a lot of memory is used by
cache but it looks like kernel is unable to release any of it to make jam
finish. Or maybe it can't use swap?
I think this could be the same reason why AboutSystem fails to start with
256M:
{{{
qemu -cdrom haiku-master-hrev54249-x86_64-anyboot.iso -m 256M
}}}
Running Haiku in qemu with 256M RAM lets you boot all the way to the
desktop in 7 minutes. ProcessController will show that only 190MB RAM is
used and some more is used by cache. However, starting AboutSystem will
fail.
--
Ticket URL: <https://dev.haiku-os.org/ticket/16106>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.