(mscorlib)Insufficient system resources exist to complete the requested service

Ho creato un’applicazione .net che prende in carico dei file e poi li elabora e li risalva in HD. Il problema è che tali file devono essere gestiti completamente in memoria, e che con grandi file, il buon Windows 2003 risponde:

(mscorlib)Insufficient system resources exist to complete the requested service

Pare che mamma microsoft dia però una soluzione (kb 304101):

 

1 Click Start, click Run, type regedit in the Open box, and then click OK.
2. Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
3. On the Edit menu, point to New, and then click DWORD Value.
4. Type PoolUsageMaximum as the entry name, and then press ENTER.
5. Right-click PoolUsageMaximum, and then click Modify.
6. Click Decimal.
7. In the Value data box, type 60, and then click OK.

Important

Use 60 as your initial value. If your backup does not succeed, use 40 as your value. If that does not work, you must change the behavior of your backup program to reduce the demand of paged pool. If the value works, you may want to increase the value by approximately 25 percent until the backup does not work. If the backup is unsuccessful, use the second registry setting that is described in this article.
Make sure that the value for this registry setting is not more than 60.
If you are using the /3GB switch, use 40 as your initial setting. Note that this value is a percentage value.
8. Quit Registry Editor.
9. Restart your computer.

Ciao!

Loading Facebook Comments ...

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *