Memory leak on every extDB result
I have just discovered that Arma has a cache for compile/compileFinal. Every string that you compile and it's resulting code is being cached, indefinetely till you exit the game.
Things like this: https://github.com/AsYetUntitled/Framework/blob/dc9eeb5eecc410d5205780d864fab6440b6ef1ca/life_hc/MySQL/General/fn_asyncCall.sqf#L47 https://github.com/AsYetUntitled/Framework/blob/dc9eeb5eecc410d5205780d864fab6440b6ef1ca/life_server/Functions/MySQL/fn_asyncCall.sqf#L47 https://github.com/AsYetUntitled/Framework/blob/dc9eeb5eecc410d5205780d864fab6440b6ef1ca/life_hc/MySQL/General/fn_queryRequest.sqf#L52
Are essentially a memory leak. Every query result is kept in memory.
Workaround would be parseSimpleArray.
Game version: 1.88
There is a video that illustrates the issue here: https://feedback.bistudio.com/T135718
This is fixed in the latest version of arma 3 =)
Yep. Now you only have the performance impact left.