Article # 302, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Opening with VMOpen results in FAULTING_IN_VM_BLOCKS.
Q. I am opening a document using VMOpen with the following parameters: mode = VMO_OPEN flags = VMAF_FORCE_READ_ONLY compression = 0 After calling VMOpen, I get "WARNING: FAULTING_IN_VM_BLOCKS" in Swat. Subsequent operations seems to work fine. What does this mean? A. Since you did not pass VMAF_FORCE_DENY_WRITE, the VM manager is bringing the whole file into memory to make sure you get a consistent copy in case another app opens the same doc and writes to it. This requires a lot of system memory, so unless you have a good reason not to, I would suggest adding the flag VMAF_FORCE_DENY_WRITE.