-- 打开SQL高级选项设置USE masterEXEC sp_configure 'show advanced options', 1RECONFIGURE WITH OVERRIDE
-- 设置最大内存为 512MUSE masterEXEC sp_configure 'max server memory (MB)',15000RECONFIGURE WITH OVERRIDE