Home › Forums › kdb+ › Orphan memory in KDB process using Rserve › Re: Orphan memory in KDB process using Rserve
-
The src is available at https://github.com/KxSystems/embedR/blob/fa5101b64e15f9ba0aa5c20affc0cd041fb41bc0/src/rserver.c#L458
Have you tried calling
Rcmd “rm(temp)” Rcmd “gc()”
q does not manage the memory for R – you must still delete variables and call garbage collection