[haiku-development] Re: Booting with guarded heap.

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: Haiku Development ML <haiku-development@xxxxxxxxxxxxx>
  • Date: Sat, 4 May 2019 15:05:00 -0400

On Sat, May 4, 2019 at 2:30 PM Bruno Albuquerque <bga@xxxxxxxxxxxxx> wrote:

In my case, it runs out of memory soon after mounting the boot disk while 
processing the installed packages. I had a bigger syslog buffer set and 
although it was not that big, I reverted it to the normal size and tried 
again. Same issue. Other than that, I also tried setting KDEBUG to 0 but this 
also did not happen.

Just to be sure, you enable it by the usual way, correct? Copy  
build/config_headers/kernel_debug_config.h to 
build/user_config_headers/kernel_debug_config.h and just set 
USE_GUARDED_HEAP_FOR_MALLOC to 1 and USE_SLAB_ALLOCATOR_FOR_MALLOC to 0. 
Right?

Yeah, that's what I do.

It winds up using about 6-7GB of my 8GB but I definitely can use the
system. That sounds like it deserves investigation then; we should be
able to boot on 32GB for sure.

-waddlesplash

Other related posts: