Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
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.