【问题标题】:Too Much memory usage for application pool in Odata Web APIOdata Web API 中应用程序池的内存使用量过多
【发布时间】:2014-03-08 11:58:33
【问题描述】:

我有一个用于 odata 的 web api(2)。我正在运行一个包含 100 行结果的简单查询。但应用程序池增长太多。

WebApiConfig:

var builder = new ODataConventionModelBuilder();
builder.EntitySet<Transaction>("Transaction");
builder.EntitySet<Resource>("Resource");
              ......
              ......
         Some other EntitySet
              ......
              ......
builder.EntitySet<User>("User");
config.Routes.MapODataRoute("odata", "odata", builder.GetEdmModel());
config.EnableSystemDiagnosticsTracing();

有什么问题?

【问题讨论】:

    标签: asp.net-web-api odata asp.net-web-api2


    【解决方案1】:

    我找到了原因。我没有安装 .net framework 4.5。
    安装的版本是.net framework 4

    【讨论】:

      猜你喜欢
      • 2013-03-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-02-18
      • 2013-03-17
      • 1970-01-01
      相关资源
      最近更新 更多