Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-26128

Thor should not use all of the resourced memory for roxiemem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.2.4
    • Component/s: Thor
    • Labels:

      Description

      currently the code is:

                  const char *workerResourcedMemory = globals->queryProp("workerResources/@memory");
                  if (!isEmptyString(workerResourcedMemory))
                  {
                      offset_t sizeBytes = friendlyStringToSize(workerResourcedMemory);
                      gmemSize = (unsigned)(sizeBytes / 0x100000);
                  }
      
      

      It should use say 90% of that memory, otherwise there is no memory for heap/shared objects.

       

        Attachments

          Activity

            People

            Assignee:
            jakesmith Jake Smith
            Reporter:
            ghalliday Gavin Halliday
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: