Subject: Running command 'memory_pressure -l critical' is always failing with segmentation fault
I will now and then use the 'memory_pressure -l critical' command to check the system's ability to deal with memory pressure as part of my periodic regression testing after installing software.
See 'man memory_pressure'.
I run this same command on my late 2016 15" rMBP13,3 16GB RAM and it runs without issues.
On my MP7,1 having 384GB RAM it will consistently fail with a segmentation fault after consuming some 80GB of memory.
I will be filing a Problem Report to Apple about this.
The following was executed as normal Admin user and under sudo.
memory_pressure -l critical
The system has 2147483648 (524288 pages with a page size of 4096).
Stats:
Pages free: 95580572
Pages purgeable: 61534
Pages purged: 3773
Swap I/O:
Swapins: 0
Swapouts: 0
Page Q counts:
Pages active: 1135012
Pages inactive: 759120
Pages speculative: 371916
Pages throttled: 0
Pages wired down: 2814716
Compressor Stats:
Pages used by compressor: 0
Pages decompressed: 0
Pages compressed: 0
File I/O:
Pageins: 714824
Pageouts: 0
System-wide memory free percentage: 97%
CMD: Allocating pages to go from level: 1 to level: 4...............................................zsh: segmentation fault memory_pressure -l critical
===========================================================================
bxs@Calwah ~ % sudo memory_pressure -l critical
Password:
The system has 2147483648 (524288 pages with a page size of 4096).
Stats:
Pages free: 95535004
Pages purgeable: 61640
Pages purged: 3785
Swap I/O:
Swapins: 0
Swapouts: 0
Page Q counts:
Pages active: 1155042
Pages inactive: 778804
Pages speculative: 372697
Pages throttled: 0
Pages wired down: 2819816
Compressor Stats:
Pages used by compressor: 0
Pages decompressed: 0
Pages compressed: 0
File I/O:
Pageins: 716690
Pageouts: 0
System-wide memory free percentage: 97%
CMD: Allocating pages to go from level: 1 to level: 4...............................................zsh: segmentation fault sudo memory_pressure -l critical
I will now and then use the 'memory_pressure -l critical' command to check the system's ability to deal with memory pressure as part of my periodic regression testing after installing software.
See 'man memory_pressure'.
I run this same command on my late 2016 15" rMBP13,3 16GB RAM and it runs without issues.
On my MP7,1 having 384GB RAM it will consistently fail with a segmentation fault after consuming some 80GB of memory.
I will be filing a Problem Report to Apple about this.
The following was executed as normal Admin user and under sudo.
memory_pressure -l critical
The system has 2147483648 (524288 pages with a page size of 4096).
Stats:
Pages free: 95580572
Pages purgeable: 61534
Pages purged: 3773
Swap I/O:
Swapins: 0
Swapouts: 0
Page Q counts:
Pages active: 1135012
Pages inactive: 759120
Pages speculative: 371916
Pages throttled: 0
Pages wired down: 2814716
Compressor Stats:
Pages used by compressor: 0
Pages decompressed: 0
Pages compressed: 0
File I/O:
Pageins: 714824
Pageouts: 0
System-wide memory free percentage: 97%
CMD: Allocating pages to go from level: 1 to level: 4...............................................zsh: segmentation fault memory_pressure -l critical
===========================================================================
bxs@Calwah ~ % sudo memory_pressure -l critical
Password:
The system has 2147483648 (524288 pages with a page size of 4096).
Stats:
Pages free: 95535004
Pages purgeable: 61640
Pages purged: 3785
Swap I/O:
Swapins: 0
Swapouts: 0
Page Q counts:
Pages active: 1155042
Pages inactive: 778804
Pages speculative: 372697
Pages throttled: 0
Pages wired down: 2819816
Compressor Stats:
Pages used by compressor: 0
Pages decompressed: 0
Pages compressed: 0
File I/O:
Pageins: 716690
Pageouts: 0
System-wide memory free percentage: 97%
CMD: Allocating pages to go from level: 1 to level: 4...............................................zsh: segmentation fault sudo memory_pressure -l critical