Windows SDK does not release memory on refresh

Since we noticed that the Corona simulator on Windows keeps crashing after a while, we investigated this issue a little and found out that the Windows SDK does not release any memory used or loaded by the LUA code when hitting the refresh hotkey (CTRL+R). The memory footprint of the SDK steadily increases on each refresh until the system RAM gets too low, then the simulator crashes.

You can open the task manager (CTRL+ALT+DEL), go to tab “processes” and watch the simulator’s memory load increasing on each refresh.

This could possibly related to sprite sheets or images since we experience more crashes and a higher memory increase when loading many sprite sheets and graphics.

BTW, short reminder: annoying file locking issue on Windows SDK still exists. Impossible to edit / update / overwrite graphic files while the simulator is running :-/ [import]uid: 10504 topic_id: 10588 reply_id: 310588[/import]