2011-02-07 93 views
0

一個Sharepoint框我adminster變得不穩定,並且會拋出幾個內存不足的異常,然後變得無響應並且需要IIS重置。SharePoint不穩定,正在獲取ASP.NET錯誤消息和.NET運行時錯誤

有沒有人遇到過這個?這個盒子是一個有4個內核和4GB內存的虛擬機,dosnt似乎一直使用100%的任何東西。

ASP.NET事件日誌:

An unhandled exception occurred and the process was terminated. 
Application ID: /LM/W3SVC/1656383179/Root 
Process ID: 2476 
Exception: System.OutOfMemoryException 
Message: Exception of type 'System.OutOfMemoryException' was thrown. 
StackTrace: 
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. 

和.NET事件日誌項:

EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 mscorlib, P5 2.0.0.0, P6 4be90358, P7 12d9, P8 9, P9 system.outofmemoryexception, P10 NIL. 

回答

1

,如果你有大量的自定義代碼寫的不是很稱職的開發者這是一個常見的問題。 Sharepoint中有許多IDisposable對象應該妥善處置。所以,如果有人違反了這個規則,特別是在經常訪問的webparts中,內存可能會被這些對象所拋棄,這些對象在最糟糕的情況下甚至會導致OutOfMemoryException異常。可能還有其他情況,但這是最常見的情況。

+0

謝謝,我們在我們的主頁上有很多自定義的webparts,我會檢查所有這些webparts的更新。 – Pierce 2011-02-08 09:20:58