kdb+ and q
Q+A on all things kdb+ database and the q language
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

KDB 4.0 Thread Local Memory

From KDB 4.0 release notes: The -w limit (M1/m2) is no longer thread-local, but domain-local: command-line option -w and system command \w set the limit for domain 0. Is there a way to circumvent this so that memory is still thread local in KDB 4.0?

jattwick by New Contributor II
  • 208 Views
  • 0 replies
  • 0 kudos

Resolved! How does nested columns/lists fragment memory?

Hi community: I have a function executed every 5minutes in my application. In the function, I create some nested data structures and update them to a global table with nested columns. Note that each element in the nested column is not a uniform typed...

lzl by New Contributor II
  • 1058 Views
  • 8 replies
  • 1 kudos

Orphan memory in KDB process using Rserve

Hi Everyone, our team is one of the users of Rserve for integrating KDB with R. Recently we noticed that one of our processes working with a R server was bloating in memory. Oddly, the .Q.w did not show any bloating in memory and .Q.gc didnt release ...

Heap is a lot larger than used, how to find the cause?

I've got a process doing some calculations on a timer and sending updated table to another process. Its heap is more than 3x of used even after manual trigger of .Q.gc. key value used 567774096 heap 1946157056 peak 2617245696 I'm using KDB+ 4.0 2021....