Skip to content

Commit

Permalink
Increase mem limit for nested calls
Browse files Browse the repository at this point in the history
  • Loading branch information
psiberx committed Sep 26, 2023
1 parent a156fca commit 3cee4bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reverse/RTTIHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ RED4ext::IScriptable* RTTIHelper::ResolveHandle(RED4ext::CBaseFunction* apFunc,
sol::variadic_results RTTIHelper::ExecuteFunction(
RED4ext::CBaseFunction* apFunc, RED4ext::IScriptable* apContext, sol::variadic_args aLuaArgs, uint64_t aLuaArgOffset, std::string& aErrorMessage, bool aAllowNull) const
{
static thread_local TiltedPhoques::ScratchAllocator s_scratchMemory(1 << 14);
static thread_local TiltedPhoques::ScratchAllocator s_scratchMemory(1 << 20);
static thread_local uint32_t s_callDepth = 0u;

if (!m_pRtti)
Expand Down

0 comments on commit 3cee4bc

Please sign in to comment.