pagefile

J

Jeff

I'm looking at the System Pagefile settings in the processor component and I
see:

Enable pagefile support

Pagefile initial size

Pagefile maximum size

I don't see any setting to turn on system managed size.

How do I do this?

Thanks,
-Jeff-
 
J

Jeff

If I enable page file support, but have 0 in the initial and maximum size
fields, then I get this error:

Building: "ACPI Uniprocessor PC [Version 5.1.2600.1106, R1507]"...
Error 1010: Invalid pagefile property: 0,0

Yet If I set some non-zero value in these fields, wouldn't that indicate a
custom size(not system managed)?

The Virtual Memory property sheet allows you 3 mutally exclusive options:

1. Custom size.
2. System managed size.
3. No paging file.

I want options 2 and I still don't see how Target Designer can distinguish
between 1 and 2.
Thanks,
-Jeff-
 
K

KM

Jeff,

In any Computer-based component (ACPI, Standard PC, etc.), there is a check
for the size values set if the pagefile support enabled. Basically you see
the error "Invalid pagefile property ..." if initial size value is less
than 2 or maximum size value is less than the initial size value. I don't
know how to fix TD not to show the error. My guess it is a bug.

However, there is always a work-around. You can disable the page file in the
PC component settings and add another registry entry:
[HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management],"PagingFiles" (REG_MULTI_SZ). The value (for System managed
size) should be "C:\pagefile.sys 0 0". Just make sure that your component
with the registry entry gets built into your runtime image AFTER the "ACPI
Uniprocessor PC" component (or whatever PC component you may have).

--
KM,
BSquare Corporation
If I enable page file support, but have 0 in the initial and maximum size
fields, then I get this error:

Building: "ACPI Uniprocessor PC [Version 5.1.2600.1106, R1507]"...
Error 1010: Invalid pagefile property: 0,0

Yet If I set some non-zero value in these fields, wouldn't that indicate a
custom size(not system managed)?

The Virtual Memory property sheet allows you 3 mutally exclusive options:

1. Custom size.
2. System managed size.
3. No paging file.

I want options 2 and I still don't see how Target Designer can distinguish
between 1 and 2.
Thanks,
-Jeff-

Brad Combs said:
Jeff,

Just enabling it should do the trick.

HTH,

Brad

and
 

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