#Performance loss due to memory allocation overflow/failures

6 messages · Page 1 of 1 (latest)

drifting goblet
#

Here is the part of the player.log file which is of interest.
This is of a run without the boot.config changes applied.
The memory allocator logs only get logged once the game is closed.

You can see that many allocators experience failures/overflows such as:

[ALLOC_TEMP_Loading.PreloadManager]
      Initial Block Size 256.0 KB
      Current Block Size 0.5 MB
      Peak Allocated Bytes 511.9 KB
      Overflow Count 15272
[ALLOC_TEMP_Job.Worker 6]
      Initial Block Size 256.0 KB
      Current Block Size 0.5 MB
      Peak Allocated Bytes 338.7 KB
      Overflow Count 159390

Some other allocators are in the thousands, I'm not sure if those happen during gameplay too.

Along with the ALLOC_BUCKET under the Dual Thread Allocators experiencing high failure counts

[ALLOC_DEFAULT] Dual Thread Allocator
  Peak main deferred allocation count 1195113
    [ALLOC_BUCKET]
      Large Block size 4.0 MB
      Used Block count 1
      Peak Allocated bytes 4.0 MB
      Failed Allocations. Bucket layout:
        16B: 1 Subsections = 1024 buckets. Failed count: 105466707
        32B: 10 Subsections = 5120 buckets. Failed count: 134516997
        48B: 39 Subsections = 13312 buckets. Failed count: 494778989
        64B: 33 Subsections = 8448 buckets. Failed count: 199361553
        80B: 164 Subsections = 33587 buckets. Failed count: 10055512
        96B: 5 Subsections = 853 buckets. Failed count: 1635869
        112B: 2 Subsections = 292 buckets. Failed count: 5152842
        128B: 2 Subsections = 256 buckets. Failed count: 6233905

[ALLOC_GFX] Dual Thread Allocator
  Peak main deferred allocation count 5175
    [ALLOC_BUCKET]
      Large Block size 4.0 MB
      Used Block count 1
      Peak Allocated bytes 4.0 MB
      Failed Allocations. Bucket layout:
        16B: 1 Subsections = 1024 buckets. Failed count: 105466707
        32B: 10 Subsections = 5120 buckets. Failed count: 134516997
        48B: 39 Subsections = 13312 buckets. Failed count: 494778989
        64B: 33 Subsections = 8448 buckets. Failed count: 199361553
        80B: 164 Subsections = 33587 buckets. Failed count: 10055512
        96B: 5 Subsections = 853 buckets. Failed count: 1635869
        112B: 2 Subsections = 292 buckets. Failed count: 5152842
        128B: 2 Subsections = 256 buckets. Failed count: 6233905

[ALLOC_CACHEOBJECTS] Dual Thread Allocator
  Peak main deferred allocation count 2882479
    [ALLOC_BUCKET]
      Large Block size 4.0 MB
      Used Block count 1
      Peak Allocated bytes 4.0 MB
      Failed Allocations. Bucket layout:
        16B: 1 Subsections = 1024 buckets. Failed count: 105466707
        32B: 10 Subsections = 5120 buckets. Failed count: 134516997
        48B: 39 Subsections = 13312 buckets. Failed count: 494778989
        64B: 33 Subsections = 8448 buckets. Failed count: 199361553
        80B: 164 Subsections = 33587 buckets. Failed count: 10055512
        96B: 5 Subsections = 853 buckets. Failed count: 1635869
        112B: 2 Subsections = 292 buckets. Failed count: 5152842
        128B: 2 Subsections = 256 buckets. Failed count: 6233905

The full config posted above solves these failures.
However, again I am just playing around with these values, hopefully a developer with expertise can look into this.

pallid laurel
#

👍

drifting goblet
#

Sorry, the original post got deleted so the config changes aren't here anymore, however they've taken note of it internally.

round viper
#

👺

jovial leaf
#

🙏