запуск пересчета небольшой группы (Сессий обработано => 1851) - память дрогнула еле заметно
Код:
./scheduler_status.sh
Sending 'status' on 127.0.0.1:9066
Result: TaskExecuter working
Started: 06.04.2015 09:35:07 Uptime: 1 d 01:27:11
Memory total: 49 283 072; max: 238 616 576; free: 35 207 736
Memory pools:
Non-heap memory[Code Cache]: max: 50 331 648; used: 1 771 584; peek: 1 782 400
Heap memory[PS Eden Space]: max: 87 031 808; used: 1 777 960; peek: 15 794 176
Heap memory[PS Survivor Space]: max: 1 179 648; used: 98 304; peek: 2 069 168
Heap memory[PS Old Gen]: max: 178 978 816; used: 12 199 072; peek: 12 199 072
Non-heap memory[PS Perm Gen]: max: 67 108 864; used: 17 638 640; peek: 17 638 640
Thread count: 23
Trees in cache: 5
Periodic tasks executed: 4; active: 0
Urgent tasks executed: 1; active: 0
Connections pool to Master status Idle: 3; Active: 0; maxActive: 300; maxIdle: 50
запуск пересчета другой группы (Сессий обработано => 4571) - прилетел "[BGScheduler] Недостаток памяти системы"
Зарезервировано 222298112 из 238616576 (максимум) байтов памяти. Сейчас свободно: 57152672 байтов.
Код:
./scheduler_status.sh
Sending 'status' on 127.0.0.1:9066
Result: TaskExecuter working
Started: 06.04.2015 09:35:07 Uptime: 1 d 01:32:17
Memory total: 198 639 616; max: 238 616 576; free: 36 192 816
Memory pools:
Non-heap memory[Code Cache]: max: 50 331 648; used: 2 584 704; peek: 2 595 456
Heap memory[PS Eden Space]: max: 86 966 272; used: 5 431 992; peek: 19 464 192
Heap memory[PS Survivor Space]: max: 196 608; used: 135 176; peek: 29 818 880
Heap memory[PS Old Gen]: max: 178 978 816; used: 156 879 632; peek: 163 764 592
Non-heap memory[PS Perm Gen]: max: 67 108 864; used: 17 709 136; peek: 17 709 136
Thread count: 25
Trees in cache: 6
Periodic tasks executed: 4; active: 0
Urgent tasks executed: 2; active: 0
Connections pool to Master status Idle: 3; Active: 0; maxActive: 300; maxIdle: 50
./scheduler.sh -egc (4 раза)
Код:
./scheduler_status.sh
Sending 'status' on 127.0.0.1:9066
Result: TaskExecuter working
Started: 06.04.2015 09:35:07 Uptime: 1 d 01:36:46
Memory total: 198 574 080; max: 238 616 576; free: 125 200 752
Memory pools:
Non-heap memory[Code Cache]: max: 50 331 648; used: 2 585 600; peek: 2 596 352
Heap memory[PS Eden Space]: max: 88 670 208; used: 437 640; peek: 19 464 192
Heap memory[PS Survivor Space]: max: 65 536; used: 0; peek: 29 818 880
Heap memory[PS Old Gen]: max: 178 978 816; used: 72 935 688; peek: 163 764 592
Non-heap memory[PS Perm Gen]: max: 67 108 864; used: 17 710 816; peek: 17 744 008
Thread count: 26
Trees in cache: 6
Periodic tasks executed: 4; active: 0
Urgent tasks executed: 3; active: 0
Connections pool to Master status Idle: 3; Active: 0; maxActive: 300; maxIdle: 50
Спад на графике по времени примерно равен запуску ./scheduler.sh -egc
Used - фиолетовый, Comitted - красный.