On Tue, Sep 15, 2009 at 2:30 AM, SHINTA <shinta.0806@xxxxxxxxx> wrote: > > I installed Haiku r1 alpha1 on 5GB partition. After first launch, I > noticed that there is almost no disk space! Haiku became monster OS? > No, criminal is VM. > > Default virtual memory size is over 4GB. Real memory 2GB+VM 4GB=6GB. > Does Haiku need such a big memory? > > I think about 1GB or 2GB memory (real+VM) is enough for Haiku. Yeah I agree the default VM size calculation is a bit silly. I've seen similar disk space losses on testing virtual machines, so I just disable the virtual memory. I guess we need to come up with some heuristic, though I think the virtual memory could just be disabled if a certain about of physical memory is available (2-4 GB maybe.) Checking against disk space is smart too, as David suggests. -- Regards, Ryan