次の方法で共有


Process.PeakWorkingSet プロパティ

メモ : このプロパティは、互換性のために残されています。

関連付けられたプロセスのワーキング セットのピーク サイズを取得します。

名前空間: System.Diagnostics
アセンブリ: System (system.dll 内)

構文

'宣言
<ObsoleteAttribute("This property has been deprecated.  Please use System.Diagnostics.Process.PeakWorkingSet64 instead.  https://go.microsoft.com/fwlink/?linkid=14202")> _
Public ReadOnly Property PeakWorkingSet As Integer
'使用
Dim instance As Process
Dim value As Integer

value = instance.PeakWorkingSet
[ObsoleteAttribute("This property has been deprecated.  Please use System.Diagnostics.Process.PeakWorkingSet64 instead.  https://go.microsoft.com/fwlink/?linkid=14202")] 
public int PeakWorkingSet { get; }
[ObsoleteAttribute(L"This property has been deprecated.  Please use System.Diagnostics.Process.PeakWorkingSet64 instead.  https://go.microsoft.com/fwlink/?linkid=14202")] 
public:
property int PeakWorkingSet {
    int get ();
}
/** @property */
public int get_PeakWorkingSet ()
public function get PeakWorkingSet () : int

プロパティ値

関連付けられたプロセスが一度に要求した物理メモリの最大容量 (バイト単位)。

例外

例外の種類 条件

PlatformNotSupportedException

プラットフォームが Windows 98 または Windows Millennium Edition (Windows Me) です。このプロパティはサポートされません。

解説

プロセスのワーキング セットとは、物理 RAM メモリ内でプロセスが現在参照できるメモリ ページのセットのことです。これらのページは常駐であり、アプリケーションはページ フォルトを起こすことなくこれらを参照できます。

ワーキング セットには、共有データとプライベート データの両方が含まれます。共有データには、プロセス モジュールやシステム ライブラリなどプロセスが実行する命令をすべて格納するページが含まれています。

.NET Framework のセキュリティ

プラットフォーム

Windows 98, Windows 2000 SP4, Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 1.0、1.1
2.0 では、互換性のために残されています (コンパイル時に警告)

参照

関連項目

Process クラス
Process メンバ
System.Diagnostics 名前空間
WorkingSet64
Process.MinWorkingSet プロパティ
Process.MaxWorkingSet プロパティ
PeakWorkingSet64