[sr-dev] git:master:ef94da7b: app_lua: fix crash on exausted memory scenario