Issue
Building Operation WorkStation freezes and crashes. The stack trace shows:
- System.ComponentModel.Win32Exception: Not enough quota is available to process this command
Product Line
EcoStruxure Building Operation
Environment
Building Operation WorkStation
Cause
This is an error from Windows system:
- Not enough quota is available to process this command
There are two potential causes for this error:
- Windows does not have enough virtual memory for all of the processes that are currently running on the machine or Windows is running out of other resources such as: disk space, handles, GDI resources, process message queue or something else. This error turns up on a lot of programs in Windows intermittently, such as Windows File Explorer.
- WorkStation freezes (usually because its waiting on the server) and the user tries to do a 'soft' shutdown (not a kill process) of WorkStation in the Task Manager. The Windows OS then sends instructions via the message queue (to simulate a user press on the "red cross" button on upper right in caption bar) which in turn leads to this quota error.
Resolution
If this error is seen, Microsoft recommends closing some applications and trying again. If you still get this message, increase the size of your paging file.
- In the Taskbar Search, type “Advanced System“. You will see View Advanced System Settings. Click on it.
- Or you can navigate to it via Control Panel
- In System Properties, click the Advanced tab
- In the Performance section click the Settings button
- Performance Options will open. Click the Advanced tab
- Here, under Virtual memory, select Change
- Uncheck Automatically manage paging file size for all drives
- Highlight your Windows system drive
- Select Custom size
- Change the Initial size value and the Maximum size value to a higher value
- Click Set
- Finally, Click Apply/OK all the way