maptool icon indicating copy to clipboard operation
maptool copied to clipboard

[Bug]: Excessive memory usage when campaign has lots of maps

Open kwvanderlinde opened this issue 9 months ago • 8 comments

Describe the Bug

I have a campaign that is ~200 MiB and just shy of 40 maps. If I click switch to each of the maps, in the end I've got a heap ~4.1 GiB in size. This number also stays consistently high - if I'm lucky it drops back down to ~3.5 GiB but never further.

To Reproduce

  1. Open up your favourite campaign.
  2. Switch to each map in turn
  3. Watch the memory usage steadily increase and stay high.

Expected Behaviour

Memory for zones not recently visited should be reclaimed at some point in time.

Screenshots

No response

MapTool Info

1.13.2

Desktop

Linux Mint 21.3

Additional Context

No response

kwvanderlinde avatar May 21 '24 17:05 kwvanderlinde