#5737: Installer does not enable virtual memory by default? ------------------------------------+--------------------------------------- Reporter: andreasf | Owner: korli Type: bug | Status: new Priority: normal | Milestone: R1/alpha2 Component: Applications/Installer | Version: R1/Development Keywords: | Blockedby: Platform: x86 | Blocking: ------------------------------------+--------------------------------------- Comment(by stippi): First of all, the Installer has nothing to do with this. There are three things which can have an influence: 1) Swap support can be disabled at build time, via the kernel_debug_config.h file in build/config_headers or build/user_config_headers, the default of ENABLE_SWAP_SUPPORT is 1, so it has to be turned off deliberately, but I don't assume this is done on the Build-O-Matic machine. 2) src/system/kernel/vm/VMAnonymousCache.cpp reads the "virtual_memory" kernel settings file in swap_init_post_modules(). The file either exists or it does not exist. In the case that it does not exist, the system tries to allocate a swap file that is twice the ammount of physical memory. Which can of course easily fail if there is not enough room on the boot partition. This may actually be your situation, in case you installed Alpha 2 on a dedicated partition which is too small, or if you installed it on your regular partition, but Alpha 2 comes with more stuff and again the partition is too small. 3) If a user has run the VirtualMemory preflet, then the kernel settings file exists. By default, it turns virtual memory on ("vm on"). Can you please check which situation could apply in your case? I agree that running without swap space can have bad consequences on system behavior, so perhaps allocating a dynamic swap file in swap_init_post_modules() that only spans a certain percentage of the free space on the boot disk is a better idea then to fail completely. This would then be the proper fix for this ticket, in case it's really your situation, but it would deserve a fix in either case. -- Ticket URL: <http://dev.haiku-os.org/ticket/5737#comment:1> Haiku <http://dev.haiku-os.org> Haiku - the operating system.