- Aug 25, 2001
- 56,587
- 10,225
- 126
I have to admit, I run out of system resources in programs about once a week or so. It happens in Firefox, after browsing for a long time, and it just happened to me in Xnews.
Now, in order to preserve global system resources, I have my per-process system resources set downward from 10,000 to 8,000 or so, leaving 8,000 for the rest of the apps on the system. (It has both a per-process, as well as an absolute global limit.)
Does Vista do anything to alleviate these limited 16,000 or so system resource handles? I don't recall reading anything about this in MS's literature, so I'm assuming it is the same old thing as XP.
It's a shame that modern OS still struggle around hardcoded limits like these, when actual machine resources are increasing by leaps and bounds. Then again, if I were on a *nix box, I'd probably complain about running out of FILE handles in the kernel. At least on those systems, you can recompile for a higher number. I'm unaware of any solution for Windows.
Edit: Btw, if anyone remembers what the registry key is for setting the per-process resource limits under XP, then please post it. I seem to have forgotten it.
Found HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
Both are set to 10000 though. I swear I remember setting one of them to 8000, but perhaps the repair install reset that value. Hmm.
Don't know why XNews is complaining then.
Now, in order to preserve global system resources, I have my per-process system resources set downward from 10,000 to 8,000 or so, leaving 8,000 for the rest of the apps on the system. (It has both a per-process, as well as an absolute global limit.)
Does Vista do anything to alleviate these limited 16,000 or so system resource handles? I don't recall reading anything about this in MS's literature, so I'm assuming it is the same old thing as XP.
It's a shame that modern OS still struggle around hardcoded limits like these, when actual machine resources are increasing by leaps and bounds. Then again, if I were on a *nix box, I'd probably complain about running out of FILE handles in the kernel. At least on those systems, you can recompile for a higher number. I'm unaware of any solution for Windows.
Edit: Btw, if anyone remembers what the registry key is for setting the per-process resource limits under XP, then please post it. I seem to have forgotten it.
Found HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
Both are set to 10000 though. I swear I remember setting one of them to 8000, but perhaps the repair install reset that value. Hmm.
Don't know why XNews is complaining then.