Skip to main content

Error: Error in command: Exception of type 'System.OutOfMemoryException' was thrown

Symptoms

When attempting to Deploy and Execute a project, or when attempting to open the Jet Data Manager application, one of the following error messages is displayed:

Error message when opening the Jet Data Manager:

Unhandled exception has occurred in a component in your application.  If you click Continue, the application will ignore this error and attempt to continue. Exception of type 'System.OutOfMemoryException' was thrown.

Error message during Deploy and Execute:

Error in command: TimeXtender.DataManager.DeployAndExecuteCommand Exception of type 'System.OutOfMemoryException' was thrown.

Cause

The reason this error is occurring is because the computer in use is running out of physical RAM memory and is unable to allocate the necessary RAM to complete the task.

Resolution

To resolve the issue, you will need to identify what is using all of your existing RAM and restrict it's usage, or allocate more resources to the machine.

One of the known culprits of memory consumption is SQL Server.  To adjust the amount of memory that SQL Server can utilize, please read our KB article on How To Adjust SQL Server Maximum Memory Usage.

Was this article helpful?

We're sorry to hear that.