-
Notifications
You must be signed in to change notification settings - Fork 4
Description
When you try to load more than 1470 units (1900 within the DB being held back artificially by UserInfoHandler.cpp in two locations) the client crashes when clicking on the "View Units" button on the units_page in-game. You can't load 1000 units at first. You have to load 500, close the server, modify the unit limit to something like 700, load the server+client, and click the "View Units" button to cache more units to memory it appears. Testing this way is sort of weird because there is no "stored" units, only the units forced in every time (indicated by the "NEW" stamp on units). When clicking view units, I believe the client stores too much data in one heap around 1470 units ~8mb essentially overflowing the heap and crashing the client. (This is only assumed interaction, and not fully tested though)