laptop and a wrench

不具合

Memory usage grows rapidly when TOC.Refresh is called.

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM011068
送信されましたAugust 20, 2007
最終更新日June 5, 2024
適用対象No Product Found
見つかったバージョン9.3
修正されたバージョン9.3
ステータスFixed

対処法

Notes from Art on workarounds for this issue, and information on why memory is increasing when toc.refresh is called.There are two work-around’s here:1) Set UseMIMEData to false oneverything. This will essentially do the same thing as #22) Force the Removal of the MIMEData objects from session state either using StateManager or the <a href="http://ASP.NET" target="_blank">ASP.NET</a> Session State object.NOTE: In looking through the code, I did notice that the TOC (as with some other objects using MIMEData) are not calling the method correctly and therefore the objects stored in session are never being removed from session state. We are a creating a CR for this now and will deal with it in the next release (SP or whatever).The way our session objects are stored on the session is through a global object known as StateManager. This object is public off the base class of our web controls (including CompositeControl) and can be used directly. In this type, we determine if session can be used, if it can, all objects are stored in session, if not, then it will try and use ViewState. In your case, it is obviously using Session State. Session objects are stored in the following format:String.Format("{0}{1}_{2}", PageID, ControlID, property )For the work-around, we can simply enumerate the objects in session and if type is MIMEData, you can quickly remove it from Session prior to calling Toc.Refresh(). I did a quick experiment and that does the trick for me. Alternativley, we can refine this to only removing the Toc’s Node’s MIMEData object by looping on the Node’s of the TOC to find the image url, if session object is MIMEData and URL == Node’s URL, then remove from session.

再現の手順

不具合 ID: NIM011068

ソフトウェア:

  • No Product Found

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動