IceReaper / OpenKrush

A KKnD and KKnD2 mod on OpenRA engine.
https://kknd-game.com
GNU General Public License v3.0
99 stars 6 forks source link

Excess RAM used in map editor #78

Closed C3pa closed 3 years ago

C3pa commented 4 years ago

The program uses almost 2 Gb of RAM when max map size is used (999 hight and 999 width). Maybe nobody will make that large map, but for this kind of game, I believe the map editor uses too much RAM and there may be room for some optimization.

Example screenshot: Screenshot The map was just generated and nothing has been actually placed

IceReaper commented 4 years ago

so we have 1 million tiles, would make 1mb if every tile was 1 byte. or in other words as the base game also loads up all actors, all available tiles, not only the ones used in this map etc. and we assume only 1gb being used by the map itself, and every tile has additional data, this amount of ram is amost expected for this map size

Dzierzan commented 3 years ago

Well, it's more of ORA issue, although that's a big map we are talking about so... that's kinda expected. Closing.