forked from 0ad/0ad
Increase the AI's js runtime size to 32 MB for the time being.
This was SVN commit r12594.
This commit is contained in:
parent
ba3b6b9bb7
commit
38ea080d25
@ -261,7 +261,10 @@ public:
|
||||
};
|
||||
|
||||
CAIWorker() :
|
||||
m_ScriptRuntime(ScriptInterface::CreateRuntime()),
|
||||
// TODO: Passing a 32 MB argument to CreateRuntime() is a temporary fix
|
||||
// to prevent frequent AI out-of-memory crashes. The argument should be
|
||||
// removed as soon as AI data-sharing has been implemented. See #1650.
|
||||
m_ScriptRuntime(ScriptInterface::CreateRuntime(33554432)),
|
||||
m_ScriptInterface("Engine", "AI", m_ScriptRuntime),
|
||||
m_TurnNum(0),
|
||||
m_CommandsComputed(true),
|
||||
|
Loading…
Reference in New Issue
Block a user