本文介绍了物理内存使用量达到高峰,再也没有恢复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SQLBulkCopyInsert.writeToServer()在内存为12 GB且页面文件为24GB的服务器上导入大量内存,即5000000.一旦启动,我注意到该服务器上的物理内存使用量会稳定增加,直到接近100%.即使脚本完成之后(或由于缺少内存而失败),内存使用率也不会下降.似乎Sql Server从不释放用于执行大容量插入的内存资源.它用于执行大容量插入的资源.

I am importing the recods of huge amoung i.e 5000000 using SQLBulkCopyInsert.writeToServer(), on a server with 12 GB of memory and a page file of 24GB. Once it starts, I notice the physical memory usage on that server steadily increases until in nears 100%. Even after the script completes (or fails due to lack of memory) the memory usage never drops. It seems that Sql Server never releases the memory resources it uses to perform the bulk inserts.ources it uses to perform the bulk inserts.

推荐答案


这篇关于物理内存使用量达到高峰,再也没有恢复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 21:14