sharepoint - 为什么我的 "out of the box"SharePoint 导航看起来像是在泄漏内存

标签 sharepoint memory-leaks moss navigation

我的站点具有相当深的导航结构,开箱即用的导航看起来经常会泄漏内存,尤其是 SPWeb 对象。

日志信息看起来像

Potentially excessive number of SPRequest objects (14) currently unreleased on thread 5. Ensure that this object or its parent (such as an SPWeb or SPSite) is being properly disposed.

最佳答案

Stefan Goßner's博客文章似乎回答了这个问题。问题不在于没有关闭 SPWeb 对象,而是一旦达到分配的特定阈值(默认为 8),就会在日志中创建警告。 根据您的网站结构,将创建的数量会有所不同。

关于sharepoint - 为什么我的 "out of the box"SharePoint 导航看起来像是在泄漏内存,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/146841/

相关文章:

css - 如何在 MOSS/Sharepoint 2007 中为 Web 部件添加样式表

c# - Sharepoint Web 服务项目数据(访问 "Created By"列)

sharepoint - 我的应用程序通过 Web 客户端/WebDAV(WebDAV 重定向器)编辑 SharePoint 中的文件。我如何退房/入住?

jquery - jquery的empty()方法会清除通过非jquery方式创建的事件监听器吗

c# - PaintEvent内存泄漏

sharepoint - 我应该使用工作流还是事件接收器?

c# - 在 SharePoint 中以编程方式检查列属于哪个字段类型

excel - 使用 Microsoft Graph API 从 Sharepoint 站点中提取 Excel.xlsx 工作簿

xcode - 当应用程序终止时,空的新 Cocoa Mac OS X 应用程序有 14799 个项目 "still living"。它们是泄漏吗?

sharepoint - 苔藓 2007 : Displaying data from SQL Server Database