Forum Replies Created

  • muneishadya

    Member
    May 29, 2023 at 12:00 am in reply to: Orphan memory in KDB process using Rserve

    Hi there

    the memory bloating problem is with the kdb process and not the R process.

    whenever the q process calls Rset there is orphan memory on the q process.

    Also, .Q.gc does not release any memory. The q process and OS have different view on the amount of memory being consumed by the q process .in the end the q process shuts down even though it thinks it has low memory foot print.

     

  • muneishadya

    Member
    May 16, 2023 at 12:00 am in reply to: Orphan memory in KDB process using Rserve

    Also, need to add that we are using a file called as rserve.so , I believe its not part of embedR project.

  • muneishadya

    Member
    May 12, 2023 at 12:00 am in reply to: Orphan memory in KDB process using Rserve

    Currently we reassign the same variable with new data, will just calling gc resolve the bloating in that case?

  • muneishadya

    Member
    May 11, 2023 at 12:00 am in reply to: Orphan memory in KDB process using Rserve

    Hi Rocuinneagain ,

    1. I believe it is embedR project indeed.

    2. yes we are using the latest code.

    3.

    Rset:`rserve 2:(`rsset;2);

    meminfo:{(5#system”w”), 1024*”J”$system “ps -eo size -h -q “,string .z.i};

    m1:meminfo[];

    RSet[“temp”;100000?100];

    m2:meminfo[];