13
0

increase pre-allocated Lua DSP memory pool size to 3MB

...now that bindings alone need approx 700K and some more complex DSP
scripts are showing up 2MB is not much :(
This commit is contained in:
Robin Gareus 2016-08-26 01:47:05 +02:00
parent c9f0657c86
commit f582f8595f

View 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