Closed bradyrussell closed 3 years ago
issues #41 and #44 are most likely this
Seems to happen in situations where i am loading in a large number of new regions, seems to me like ungenerated regions are most likely to trigger it. teleporting to a completely ungenerated region almost always causes it with a view distance of 5
Need to check if: teleporting to generated place is different than ungenerated flushing before teleport makes a difference
this may be an issue of me trying to use too high a memory limit. upon testing with 256 M , nothing gets paged out before this occurs. with 64M it seems to remain around 1024 regions paged in
this is gonna cause issues with lots of players online however, as even a single player can easily page in 8^3 regions and thats not a very far view distance
well now it seems to no longer stay at 1024 since e099951 im pretty confused as I am still using 64 mb
seems to crash around the high 3000s of regions loaded.
to clarify, earlier i changed the blueprint MemoryTargetMB value from default 512 to 64 and at this point the game would run just the same, but the number of paged in regions would remain at 1024 despite loading in multiple landmasses. now it seems to continue increasing the number of paged in regions until the high 3000s then crashes due to no space in chunk array
tested on pre e099951 and it seems way better however after like 3 or 4k voxels out it does crash
36da7dc should fix it for now
This is becoming a frequent problem. Need to figure out how to stop this