KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ mmap increasing every time table is queried Re: mmap increasing every time table is queried

  • eohara_kdb

    Member
    April 21, 2023 at 12:00 am

    Yeah sounds like a good approach. We haven’t gotten to upgrade yet, in the meantime I see errors like this in my HDB when I’ve queried the same table a number of times

    ./2021.07.27/orders/aSymbolColumn. OS reports: Cannot allocate memory

    When this happens .Q.w[] looks like the below example, where `mmap` has ballooned but `used` is ok:

    used 204451472 
    heap 805306368 
    peak 3422552064 
    wmax 0 
    mmap 5866853440032 
    mphy 809955348480 
    syms 453383 
    symw 44899939