Home › Forums › kdb+ › Orphan memory in KDB process using Rserve › Re: Orphan memory in KDB process using Rserve
-
https://github.com/KxSystems/cookbook/tree/master/r/rserve
You are only looking at the memory usage of the q process.
With Rserve R is a separate process. You need to monitor it’s memory usage also.
To free memory in q after creating a large object use
.Q.gc[]
. You can also start q with-g 1
.