提交 0080e0fc 编写于 作者: J jonathan pickett

Added --maxheap flag to control size of memory mapped file created. Heap can...

Added --maxheap flag to control size of memory mapped file created. Heap can now exceed size of physical memory. See long comment in Win32_qfork.cpp about implications of using --maxheap flag.
上级 411ef3f6
此差异已折叠。
......@@ -492,8 +492,9 @@ void loadServerConfigFromString(char *config) {
if (err) goto loaderr;
}
#ifdef _WIN32
} else if (!strcasecmp(argv[0],"bypass-system-reserve")) {
// handled in qfork init. bypass here,
} else if (!strcasecmp(argv[0],"maxheap")) {
// ignore. This is taken care of in the qfork code.
#endif
} else {
err = "Bad directive or wrong number of arguments"; goto loaderr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册