Discussion Locked

MemFreeFactor is out of range

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello,

I have a web server 700 Mhz, 256MB Memory, Internet Information Server 3, Exchange 5.5 with SP3 installed, outlook web access installed.

Recently I developed a program in Active Server Pages that allows users to access from web a Microsoft Access 2000 database. The program is a search engine that queries the database and retrieves information.

From time to time I get my Internet Information Server crashed (www/ftp services stop) for some reason. I checked the event viewer and I saw the following error message in the Application log: SOURCE Active Server Pages: "Warning, Registry key MemFreeFactor is out of range. Use 1 as the default."

If you have an idea what is going on, please tell me.

3 replies

by astute

Under heavy load, a Web server running ASP might exhaust the virtual memory allocated to it. This allocation is based on the MemFreeFactor registry entry. MemFreeFactor is set to 50 by default.

A value of 0 causes Active Server Pages not to cache any memory; in this case, you are likely to run out of virtual memory relatively quickly. A value of 100 or greater causes ASP to cache substantially more memory. This means you are less likely to run out of virtual memory, but other applications will have less memory available to them.

If your are running a Web server dedicated to serving .Asp files, and it is exhausting virtual memory, you may want to increase the value of MemFreeFactor to 100 or greater.

If, on the other hand, serving .asp files is not placing heavy demand on your Web server and you do not want to allocate memory away from other applications, do not adjust the value of MemFreeFactor

Registry Path:

HKEY_LOCAL_MACHINE\SYSTEM
\CurrentControlSet
\Services
\W3SVC
\ASP
\Parameters
MemFreeFactor REG_DWORD
Range: 50 - 150
Default: 50
This value indicates the maximum length of the free memory list as a percentage of the used memory list. If this setting is changed, The Web server must be stopped and restarted for the change to take effect.

Good luck

This discussion is closed to new replies.