我的站点具有相当深的导航结构,开箱即用的导航看起来经常会泄漏内存,尤其是 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/