-
Notifications
You must be signed in to change notification settings - Fork 311
Open
Labels
Description
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:
| _queryResult = call compile _queryResult; |
| _queryResult = call compile _queryResult; |
| if (_new isEqualType "") then {_new = call compile format ["%1", _new];}; |
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
looterz, blackfisch and jbdevic