Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

page fault errors

Status
Not open for further replies.

L0stm4n

Technical User
Dec 4, 2000
3
US
Hello everyone. Just came on the forum. I just got a job doing techsupport for a large cd rom encyclopedia distributer (worldbook.com). well in my few days so far I get allot of people calling with page fault errors on the install. Is this due to the product? or the people's computer? I need sopmething I can try to get rid of this. I would really like to quit telling then to contact the hardware manufacturer. thanks people!
 
A page fault is usually a problem caused by the application:

The Operating system divides up avalible memory into equally sized chunks called pages. It allocats a certian number of these pages for each program that is running.

When the main memory is full, the operating system stores the pages on disk in "virtual memory" (on the hard disk in a swap or paging file) and when an application needs a page that is in "virtual memory", the operating system "swaps" it. This means that the OS takes a page that is in memory and swaps it with the needed one on disk.

A page fault occurs when the program asks for a page that does not exist.

For example:

I am a program that is allocated 20 pages, and I use 25 pages. Pages 1-20 are stored in main memory, and 5 are stored in the paging file, on the hard disk. If I say give me page 21, it may swap page 14 and 21.

Now, I have pages 1-13, 15-20, and 21 in main memory, and the rest on disk. Now if I ask for page 26, the OS can't find it, and I get a "page fault"

This can happen if the program is accessing a memory address that is not allocated to it, such as an array access past the end of the array. Most likely it's a bug in your installer.

Hope that helps
MWB.
 
Is there anyway to work through it? I mean I dont know what to tell these people when they're in need. I ussually tell them to call the hardware vendor, or give me their email address and I'll research it. well I'm researching it ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top