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:
parent
c9f0657c86
commit
f582f8595f
@ -46,7 +46,7 @@ LuaProc::LuaProc (AudioEngine& engine,
|
|||||||
Session& session,
|
Session& session,
|
||||||
const std::string &script)
|
const std::string &script)
|
||||||
: Plugin (engine, session)
|
: Plugin (engine, session)
|
||||||
, _mempool ("LuaProc", 2097152)
|
, _mempool ("LuaProc", 3145728)
|
||||||
#ifdef USE_TLSF
|
#ifdef USE_TLSF
|
||||||
, lua (lua_newstate (&PBD::TLSF::lalloc, &_mempool))
|
, lua (lua_newstate (&PBD::TLSF::lalloc, &_mempool))
|
||||||
#elif defined USE_MALLOC
|
#elif defined USE_MALLOC
|
||||||
@ -76,7 +76,7 @@ LuaProc::LuaProc (AudioEngine& engine,
|
|||||||
|
|
||||||
LuaProc::LuaProc (const LuaProc &other)
|
LuaProc::LuaProc (const LuaProc &other)
|
||||||
: Plugin (other)
|
: Plugin (other)
|
||||||
, _mempool ("LuaProc", 2097152)
|
, _mempool ("LuaProc", 3145728)
|
||||||
#ifdef USE_TLSF
|
#ifdef USE_TLSF
|
||||||
, lua (lua_newstate (&PBD::TLSF::lalloc, &_mempool))
|
, lua (lua_newstate (&PBD::TLSF::lalloc, &_mempool))
|
||||||
#elif defined USE_MALLOC
|
#elif defined USE_MALLOC
|
||||||
|
Loading…
Reference in New Issue
Block a user