Page file uses remaining space on drive, can't get kernel dumps

M

Mark K Vallevand

We have an XPe SP2 image that we'd like to enable paging and kernel dumps so
that we can debug a BSOD. It was built without paging enabled and no
thought was given to kernel dumps to the paging file.

When I enable a page file and set a min and max size on a running system,
the system always assigns all the available space to the page file. Huh?
What am I missing to enable a page file? The image was built without paging
enabled, but I can't see what it pulled into a build when paging is enabled
in the dev sys. Can I enable paging after-the-fact like this?

Additionally, it looks like there is a component needed to enable kernel
dumps. Is there anything else needed for kernel dumps? Is there a way to
enable kernel dumps after-the-fact as well?

--
Regards.
Mark K Vallevand (e-mail address removed)

Beer is living proof that God loves us and wants us to be happy.
- Benjamin Franklin


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
 
M

Mark K Vallevand

Adding the files diskdump.sys and savedump.exe allows kernel dumps to work.
Huzzah!

I still cannot get Xpe to set the page file size to anything but all the
available space. Is this something that is done at first boot?


--
Regards.
Mark K Vallevand (e-mail address removed)

Beer is living proof that God loves us and wants us to be happy.
- Benjamin Franklin


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
 
S

Sean Liming \(MVP\)

When you say all available space, do you mean all available pagefile space?

I see that the page file is not flexible and always uses the max size.

--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
 
M

Mark K Vallevand

I mean available disk space. If there is 321 mb free on the disk, the page
file will be about 320 mb. It seems to ignore sizes when the minimum is
set small. Just a few minutes ago, a collegue reported that if the page
file is set to minimum 128 mb maximum 512 mb then Xpe happily uses that
value. Set it to minimum 2 mb maximum 32 mb and it will use the (almost)
entire free space on the disk.

--
Regards.
Mark K Vallevand (e-mail address removed)

Beer is living proof that God loves us and wants us to be happy.
- Benjamin Franklin


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top