soylomass 4 Report post Posted February 20, 2020 Users have been reporting a problem for a long time where after some time playing the game, chat messages and player names (both of which use Text elements) would disappear and some time after that, the application would crash. As I don't have an iOS device, I installed XCode on a Mac OS VM and started to debug. I found out that most of the memory is consumed by Canvas instances, that don't seem to be garbage collected. I did a search on Google and found this https://github.com/openlayers/openlayers/issues/9291, could this be related? I will set the Canvas element's size manually to see if this fixes the issue, and will report with my results. Quote Share this post Link to post Share on other sites
ivan.popelyshev 1074 Report post Posted February 20, 2020 Set canvas.width = 0 for text elements destroy() ? good idea, but that kind of things are better handled at https://github.com/pixijs/pixi.js/issues . If possible, please make a PR. Quote Share this post Link to post Share on other sites