Memory leak by copying entities (houses)

Fixed Crash Performance Tools & Construction
deagato [discord] · 1 year ago
  1. Place entities (image 1)
  2. Select entities to copy (image 2), just the copy is enough, no need to place the ghosts
  3. Cancel clipboard
  4. Repeat from step 2

image.jpg
image.jpg

deagato [discord] · 1 year ago

It doesn't happen copying rocket assembly depots

image.jpg

This does leak 200mb per copy

image.jpg

tippyc [discord] · 1 year ago

i will point out that something was also unreasonably laggy just looking at the array of ghosts i copied. I crashed looking at a similar angle after all the copying.

20CA101.JPG

I saved, closed the game, and reloaded, and this view was still giving me at most a few seconds per frame with vram pegged at 98%. I am running an older 2080 super with 8gb vram though

might be a combination of issues

Captain Marek Captain Marek · 1 year ago

Housing is a little special, as we do some randomization per instance, so caching may not work here. We may need to limit the randomization and introduce more strict caching.

Does this issue happen with non-T4 houses?

deagato [discord] · 1 year ago

Yes, it happens with all the tiers

Found another unrelated bug. Trying to delete these ghosts selecting the area doesn't work properly. 🤣

image.jpg
image.jpg

Closed as ✅ Fixed

8 Showing 1–7 of 7