increase pre-allocated Lua DSP memory pool size to 3MB
authorRobin Gareus <robin@gareus.org>
Thu, 25 Aug 2016 23:47:05 +0000 (01:47 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 25 Aug 2016 23:47:05 +0000 (01:47 +0200)
...now that bindings alone need approx 700K and some more complex DSP
scripts are showing up 2MB is not much :(

libs/ardour/luaproc.cc

index c67667c6ea0adf6bb393f5da191c5ca70432a248..362b78510075ea7e5c19089f78b1cd9bfca36393 100644 (file)
@@ -46,7 +46,7 @@ LuaProc::LuaProc (AudioEngine& engine,
                   Session& session,
                   const std::string &script)
        : Plugin (engine, session)
-       , _mempool ("LuaProc", 2097152)
+       , _mempool ("LuaProc", 3145728)
 #ifdef USE_TLSF
        , lua (lua_newstate (&PBD::TLSF::lalloc, &_mempool))
 #elif defined USE_MALLOC
@@ -76,7 +76,7 @@ LuaProc::LuaProc (AudioEngine& engine,
 
 LuaProc::LuaProc (const LuaProc &other)
        : Plugin (other)
-       , _mempool ("LuaProc", 2097152)
+       , _mempool ("LuaProc", 3145728)
 #ifdef USE_TLSF
        , lua (lua_newstate (&PBD::TLSF::lalloc, &_mempool))
 #elif defined USE_MALLOC