# Map generation chews up memory, can cause sim / grid server crashes.

First ARSE used to cause grid crashes when it soaked up all memory, I moved it to a friends server with lots of spare RAM.



Now Devils Point is crashing itself for the same reason.  And the brand new Sunrise.

---

No idea why it soaks up all the memory, though it does basically have to read details and textures from ALL the assets in the sim.  But couldn't it let go of most along the way?  Or only bother if the asset is a top level asset that isn't covered by other assets?  Crappy OpenSim code is probably doing everything wrong.



So this might be a candidate for writing in C.  It's basically stand alone, read the database assets, write the map files.  Might have to do that soon.



Sunrise only has 1 GB of data in it's OAR backup.  So why does it need 10 GB and rising for generating the map?  ARSE has 1.7 GB OAR, needs 27 GB to generate map!

---

reported=2021-05-26 04:11:48

reporter=onefang

priority=normal

category=Bug

severity=crash

resolution=open
