Hi,
I am trying to understand the performance implications of running a
number of separate ActiveXexe processes as opposed to a single
ActiveXexe with multiple threads on a Windows 2000 server.
I have been told that Windows does not allocate a fixed memory space
to its processes, so they are always paged off to disk when inactive.
However, all the threads in a single process operate within the same
memory space, so are relatively quicker (presumably, if the single
process remains active, then all the threads will remain in memory,
not getting paged to disk).
This seems reasonable, except that the Windows server being used has
about 3GB of memory, each process takes up approximately 40k and there
will be only about 10 of these processes running in total. Surely
Windows will only write the processes to disk when it has no memory
available? Why would it use disk when there is still a lot of
available physical memory?
Thanks.