タグ

関連タグで絞り込む (3)

タグの絞り込みを解除

GCに関するsiroken3のブックマーク (2)

  • OutOfMemoryError が出た時の解決へのアプローチ

    java.lang.OutOfMemoryError は、Java VM がヒープメモリ不足により、オブジェクトに メモリを割り当てることが出来ず発生するエラーです。 Java VM 起動時にヒープメモリサイズを指定しますが、指定したヒープメモリサイズを使いきって しまったときに発生します。 OutOfMemoryErrorが発生した場合のアプローチとJava VMパラメータチューニングによる安定動作の運用事例についてご紹介 します。 (1)OutOfMemoryError が出た時のアプローチ OutOfMemoryError はメモリの使用量がヒープメモリサイ ズの指定を超えると発生します。 OutOfMemoryError に陥るケースは二つあります。 (A) 不要なオブジェクトが無駄にメモリに残っている場合 (B) ヒープサイズの絶対量が不足している場合 以下にそれぞれの対処を記し

  • Tuning Garbage Collection with the 5.0 Java[tm] Virtual Machine

    Table of Contents Introduction Ergonomics Generations Performance Considerations Measurement Sizing the Generations Total Heap The Young Generation Young Generation Guarantee Types of Collectors When to Use the Throughput Collector The Throughput Collector Generations in the throughput collector Ergonomics in the throughput collector Priority of goals Adjusting Generation Sizes Heap Size Out-of-Me

  • 1