mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-31 19:07:43 +01:00
tweak lua GC (once again)
fixes OOM with extreme automation in HP/LP.
This commit is contained in:
parent
07fa803aa1
commit
c9f0657c86
1 changed files with 2 additions and 1 deletions
|
|
@ -83,7 +83,8 @@ LuaState::collect_garbage_step () {
|
|||
|
||||
void
|
||||
LuaState::tweak_rt_gc () {
|
||||
//lua_gc (L, LUA_GCSETPAUSE, 20);
|
||||
/* GC runs same speed as memory allocation */
|
||||
lua_gc (L, LUA_GCSETPAUSE, 100);
|
||||
lua_gc (L, LUA_GCSETSTEPMUL, 100);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue