リソース枯渇イベントとは何ですか。
Apex リソース枯渇イベントは、Apex コードをコンパイルするためのサーバーリソースの競合が激しすぎるために、サービス品質の低下やサービス拒否を引き起こす可能性があるサービス保護メカニズムです。
これはいつ発生しますか。
コンパイルされたバイトコードがキャッシュ内にない場合、リクエストに対して Apex の再コンパイルがトリガーされます。営業時間のピーク時に組織の権限を変更する機能を有効または無効にすると、Apex コードキャッシュが無効になる可能性があります。一般的な経験則として、ピーク期間中に権限を変更すると、Apex バイトコードキャッシュが無効化される可能性があり、その後のリクエストでは Apex コードの再コンパイルが必要になる可能性があります。
緊急リリースおよびパッチリリースでは、Apex バイトコードキャッシュも無効になります。
トラフィック量が多く、Apex クラスの数が多い組織では、ピーク時の混雑時間帯に次のことを避ける必要があります。
ピーク時間外に変更を行った後は、使用量が増加する前に Apex コードを手動でコンパイルして使用可能にできます。
メタデータのデプロイ、パッケージのインストール、またはパッケージのアップグレードによって行われた変更は、デプロイ時にコンパイルする機能によって処理され、キャッシュされたバイトコードを利用し、リクエストに即座に対応できるようになります。
000927355

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.