简体   繁体   English

增加最大服务器内存以处理SQL Server上的System.OutOfMemoryException

[英]Increasing max server memory to deal with System.OutOfMemoryException on SQL Server

I am not very experienced so please bear with me. 我不是很有经验,所以请忍受。

I have been attempting to import a 2500 MB and 3800 MB CSV into SQL Server 2016. Unfortunately I keep getting the System.OutOfMemoryException error. 我一直试图将2500 MB和3800 MB的CSV导入SQL Server2016。不幸的是,我一直收到System.OutOfMemoryException错误。 My computer has 8.00 GB RAM so I figured I would just increase the max server memory from the default up to 4000 MB. 我的计算机有8.00 GB RAM,所以我认为我可以将最大服务器内存从默认值增加到4000 MB。 For some reason though each time I try to change the max server memory to make it higher it changes back to default. 由于某种原因,尽管每次我尝试更改最大服务器内存以使其更高时,它都会更改回默认值。 How do I fix this problem? 我该如何解决这个问题?

You can change it with : 您可以使用:

sp_configure 'show advanced options', 1;  
GO  
RECONFIGURE;  
GO  
sp_configure 'max server memory', 4096;  
GO  
RECONFIGURE;  
GO 

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “System.OutOfMemoryException: 'Out of memory.'”从 SQL 服务器读取图像时 - "System.OutOfMemoryException: 'Out of memory.'" when reading image from SQL Server SQL Server System.OutOfMemoryException +太多结果 - SQL Server System.OutOfMemoryException + too many outcomes 打开Sql Server文件时出现System.OutOfMemoryException错误 - System.OutOfMemoryException error when I open the Sql Server file 如何在SQL Server 2014中解决System.OutOfMemoryException - How to solve System.OutOfMemoryException in SQL Server 2014 尝试运行由SQL Server Management Studio生成的创建表脚本时出现System.OutOfMemoryException - System.OutOfMemoryException when trying to run a create table script generated by SQL Server Management studio 将SQL Server 2016升级到版本13.0.15700.28后,经常发生System.OutOfMemoryException - System.OutOfMemoryException occurs frequently after Upgrading SQL Server 2016 to version 13.0.15700.28 查询大型SQL表时出现System.OutOfMemoryException - System.OutOfMemoryException when querying large SQL table System.OutOfMemoryException:angularjs中抛出了类型'System.OutOfMemoryException'的异常 - System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown in angularjs 机架空间:SQL Server的最大服务器内存注意事项 - Rackspace: Max Server Memory Considerations for SQL Server 训练 ML.NET -- System.OutOfMemoryException - Training ML.NET -- System.OutOfMemoryException
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM