Open john-peterson opened 10 years ago
The solution that's applied to the test system is
change pagefile.sys size to ≥ RAM size
wmic computersystem where name="%computername%" set automaticmanagedpagefile=true
wmic pagefile list /format:list
AllocatedBaseSize=32635
CurrentUsage=0
PeakUsage=0
dir /ah c:\pagefile.sys
2013-10-06 14:29 34 220 941 312 pagefile.sys
i.o.w. larger than the largest tested size in the question
wmic pagefileset where name="c:\\pagefile.sys" set initialsize=4000,maximumsize=4000
not counting the question setting
wmic computersystem where name="%computername%" set automaticmanagedpagefile=true
because it's not known which pagefile.sys size this is because the test system pagefile.sys size between 2012-12-03 and 2013-10-06 (or another time) isn't recorded
This solution cause BugCheck to create a minidump
dir %systemroot%\minidump /o:-d | head -9 | tail -2
2013-10-06 14:29 324▒949 100613-14570-01.dmp
2012-12-03 07:21 322▒616 120312-37830-01.dmp
This solution require changing the free c: disk space to ≥ RAM size
fsutil volume diskfree c:
Total # of free bytes : 82576859136
Total # of bytes : 249844199424
Total # of avail free bytes : 82576859136
The system (Speccy output) difference compared to the topic "System" in the question is
Hard Drives
233GB Samsung SSD 840 EVO 250GB ATA Device (SSD) 34 °C
The uncertainty in this solution is
it's not known where between 4 GB, the largest tested (in the topic "pagefileset
" in the question) pagefile.sys with the problem
wmic pagefileset where name="c:\\pagefile.sys" set initialsize=4000,maximumsize=4000
and 32 GB, the smallest tested pagefile.sys without the problem
wmic computersystem where name="%computername%" set automaticmanagedpagefile=true
the pagefile.sys size should be because a size between these sizes isn't tested in the system that has this problem because
notmyfault
repeatedly) that the OS developer describe the adequate pagefile.sys size because the test won't establish that its result applies to all RAM sizesThese problems remain unsolved even after applying the solution described in the topic "Answer"
Microsoft hasn't described clearly the minimum pagefile.sys size for which Windows save a minidump when RAM is 32 GB
Microsoft mislead the user by writing "Physical memory dump complete." in the BugCheck screen also when a minidump isn't saved
Samsung don't indicate that the pagefile.sys size recommendation in "SYSTEM MANAGEMENT > OS Optimization" in Samsung Magician 4.2.1 cause a BugCheck to not save a minidump
The Samsung Magician 4.2.1 "SYSTEM MANAGEMENT > OS Optimization" recommendation is
Maximum Capacity and Maximum Reliability
Virtual Memory
Virtual memory will be set to an initial size of 200 MB and a maximum of 1 GB.
Advanced
Manually set virtual memory in Windows Performance Options. If your PC has more than 4 GB of RAM, Samsung recommends you initially set virtual memory to 200 MB with a maximum of 2 GB. Use the shortcut to the right to adjsut settings.
i.o.w. the "Advanced" recommendation is
wmic pagefileset where name="c:\\pagefile.sys" set initialsize=200,maximumsize=2000
Microsoft should describe the minimum c:\pagefile.sys size for which BugCheck save a minidump because
Microsoft should change Windows so that it save a minidump when c:\pagefile.sys is small (f.e. 0,2 GB) because
Question
How do I change the Windows described in this question to save a minidump in
%SystemRoot%\Minidump
when a BugCheck occur?Problem
Windows don't save a minidump in
%SystemRoot%\Minidump
when a BugCheck occurThis is a problem because
recoveros
The
recoveros
settings are correctIt doesn't matter if auto reboot is disabled
BugCheck code
There's no indication that the BugCheck code matters. I.o.w. that a minidump is saved for some BugCheck codes because
Control Panel\System and Security\Action Center\Reliability Monitor
An example of a BugCheck name that isn't saved is
BugCheck display
The BugCheck display the same message as when a minidump event (1001) is saved
wevtutil
When a BugCheck occur
Windows don't save a minidump event (1001)
Windows save the other BugCheck events
werfault
Windows don't display this
werfault
dialog when starting after a BugCheckminidumpscount
is more than 0 (and, if it matters, higher than the number of minidumps)pagefileset
The adequate
pagefileset
size for saving a minidump isn't known. It could be this sizeThese sizes have been tried without solving the problem
Disk space
The available c: disk space for
is
attrib
The minidump folder isn't read-only (i.o.w. allow a BugCheck to save a minidump)
icacls
The minidump folder security is correct (i.o.w. allow a BugCheck to save a minidump)
rmdir
The minidump folder is deleted because
However, a BugCheck don't create a folder with the name %SystemRoot%\Minidump. But creating the minidump folder manually with the
mkdir
command below don't cause a BugCheck to save a minidumpSystem
Speccy output
Last minidump
The last 41 event for which there's a minidump is