1

When I update my model's .edmx in Visual Studio 2012 the following error occurs:

Unable to generate the model because of the following exception: 'An error occurred while executing the command definition. See the inner exception for details. There is insufficient system memory in resource pool 'internal' to run this query.

Anyone know why? I only have two simple tables in the model?

4

3 回答 3

2

Check resource governor and see if it is enabled. This can happen in resource governor Is enable and resource pools was runnig. Set resource governor disable.

于 2013-09-27T20:17:27.003 回答
1

就我而言,我在将 EF 与SqlExpress 2014. 原因是我已经限制了 Sql 的内存限制,以便在我的开发机器上保留 RAM - 修复只是暂时再次增加内存:

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

然后重启SqlServer服务。

于 2014-07-19T09:00:24.057 回答
0

edmx 使用的是什么 sql 版本?SQL 2008?如果是,请确保您已安装 SQL Server 2008 Service Pack 2。

更多信息在这里

修复:“资源池‘内部’中的系统内存不足,无法运行此查询”

于 2013-09-28T08:50:57.823 回答