Windows error 0x80070008, -2147024888

Detailed Error Information

NOT_ENOUGH_MEMORY[1]

MessageNot enough storage is available to process this command.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code8 (0x0008)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x00000008.

Questions

8votes
3answers

System.Runtime.InteropServices.COMException (0x80070008): Not enough storage is available to process this command

I am trying to diagnose this exception : System.Runtime.InteropServices.COMException (0x80070008): Not enough storage is available to process this command. (Exception from HRESULT: 0x80070008) at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType) at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(Type objectType) at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(Type serverType) at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj) at Oracle.DataAccess.Client.CThreadPool..ctor() at Oracle.DataAccess.Client.OracleCommand.set_CommandTimeout(Int32 value) ... It does not look like [...] read more
.net
oracle
oracle10g
4votes
2answers

ASP.NET MVC Error while downloading large file at Response.Flush()

I use ASP.NET MVC 5. I have a function called Download() in the controller to give the user request files. I have to zip files in the directory and deliver it as one zip file. These files are big (e.g, need to support ~100 GB download) Here is my attempt [...] read more
c#
asp.net
asp.net-mvc
large-files
iis-8
4votes
7answers

Are there any programs that will shrink the size of a sql script file?

I have a SQL script which is extremely large (about 700 megabytes). I am wondering if there is a good way to reduce the size of the script? I know there are code minimizers for JavaScript and am looking for one to use with SQL scripts. I am not looking [...] read more
sql
sql-server
4votes
2answers

C# multiple pinging in loop

I need to create application which will be pinging multiple addresses in loop. I read a lot of examples here at stackoverflow and finally got working code: public void Check(List<string> addresses) { List<Task<PingReply>> pingTasks = new List<Task<PingReply>>(); foreach (string address in addresses) { pingTasks.Add(PingAsync(address)); } Task.Factory.ContinueWhenAll(pingTasks.ToArray(), _ => { }).ContinueWith(t [...] read more
c#
.net
multithreading
async-await
ping
3votes
2answers

Receiving "not enough storage" error while reading big Excel file

While I am importing data from excel to SQL I receive the below error. the memory is on the max. the format of excel is .xlsx. The size of the excel is 170 MB (178,587,611 bytes). But I got: > not enough storage error. I will appreciate if anyone helps [...] read more
sql-server
excel
ssis
etl
3votes
1answer

Could not load file or assembly System.ServiceModel, or one of its dependencies. Not enough storage is available to process this command

The full message is > Unhandled Exception: System.IO.FileLoadException: Could not load file or > assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, or one of its > dependencies. Not enough storage is available to process this command. > (Exception from HRESULT: 0x80070008) Was running the program on .net framework 4.5 and on a windows [...] read more
c#
wcf
2votes
1answer

Bug in Clipboard.SetContent

I'm building a UWP targeting: Min version: 14393 Target Version: 18362 My Windows version is: 10.0.19041 Build 19041 I have the following codebehind: using Windows.ApplicationModel.DataTransfer; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace LinkTest { public sealed partial class MainPage : Page { public MainPage() => this.InitializeComponent(); private void Button_Click(object sender, RoutedEventArgs e) [...] read more
c#
windows
uwp
2votes
1answer

Debug .NET OutOfMemoryException with windbg

I need help to debug a OutOfMemoryException in a .net dll that convert rtf text in raw text or in html. Here is the code for conversion, (http://matthewmanela.com/blog/converting-rtf-to-html/) public string ConvertRtfToHtml(string rtfText) { if (rtfText.Equals("")) return ""; try { var thread = new Thread(ConvertRtfInSTAThread); var threadData = new ConvertRtfThreadData { [...] read more
c#
.net
windbg
1vote
1answer

Can't access share sometimes and some strange performance issues

I'm getting error 0x80070043 "The network name cannot be found" when accessing \\dc01 (the root), but can access shares via \\dc01\share. When I get that error I also didn't get the network drive on hosted that server set via Group Policy, it fails with this error: > The user 'W:' [...] read more
group-policy
windows-server-2012
server-message-block
windows
1vote
1answer

WPF - Added a Listbox, got a COM error

I have a fairly simple single-threaded program C#/WPF program. It has a few buttons and a canvas; it loads a file and displays some graphics. It's got some arrays of doubles and bools totalling about 1G, and until now it's worked fine. It does not explicitly do any interop nor [...] read more
c#
wpf
listbox
1vote
1answer

Cannot deploy SSIS project - Error during execution of "encrypt_binarydata"

I have a SSIS project that I have created that has the DontSaveSensitive protection level and has happily deployed to the local server several times before today. I am now, however, getting the following error on deployment: [https://i.stack.imgur.com/KJHe1.png] > A .NET Framework error occurred during execution of user-defined routine or [...] read more
sql-server
ssis
1vote
0answers

SSIS Package fails with Runtime Interopservices Error

I have this SSIS package that used to run fine until a month ago. It started to fail with the following error code, but it ran fine after I restarted the process again. I've tried running it all day today but to avail. The code is taking everything from excel [...] read more
sql-server
sql-server-2008
ssis
db2
1vote
1answer

Error during SSIS package deploy - Failed to create AppDomain "SSISDB.dbo[runtime]

I'm trying to deploy package on SQL Server and during execution I'm getting following error. On server already exists packages so it shouldn;t be problem with SQL Server Configuration itself. Any ideas? Failed to create AppDomain "SSISDB.dbo[runtime].18". Could not load file or assembly 'System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of [...] read more
sql-server
deployment
ssis
sql-server-2012
sql-server-2014
1vote
0answers

further steps for analysing .NET memory leak in WinDbg

An application when opening large documents (400 pages of scanned documents) recently started getting an error, the developer of the application is having trouble finding root cause so we are providing some assistance. Apparently this has started occurring without a change to the application. From what I've done so far [...] read more
.net
memory-leaks
windbg
1vote
1answer

C# - UrlHistoryWrapper class - Not enough storage is available to process this command. (Exception from HRESULT: 0x80070008)

I am getting values from a database, and trying to insert them into Internet Explorers history, using the UrlHistoryWrapper class. When I set the for conditions to something in the thousands, I will get this error, however, when I set the for condition to less than 100, it will run [...] read more
c#
error-handling
comexception
1vote
1answer

Using spatial index in SQL Server gets "Failed to open malformed assembly 'mscorlib'"

I'm having a bit of an issue with setting up a db in MSSQL where when I try to set up an index on a geography data typed column and it keeps spiting out an error of Msg 6507, Level 16, State 2, Line 1 Failed to open malformed assembly [...] read more
sql-server
sql-server-2008
spatial
spatial-index
1vote
1answer

HTTPWatch IE Automation via Ruby out of memory error

I am using the HTTPWatch Ruby script to automate Internet Explorer and crawl a website looking for broken links. See here for information on the ruby site spider script. After a while the HTTPWatch plugin fails with the following error: Get Cache Object failed # 1. len = 2048 url [...] read more
ruby
internet-explorer
httpwatch
0votes
0answers

GPO drive mapping fails and other (logon) problems

We recently increased our user amount on our RDS 2012 R2. We are starting to experience some issues. We have 4 Windows 2012 R2 RDS Servers and 1 Domain Controller/File server also running Windows Server 2012 R2. Every RDS server has +- 10 users, At Max 15. Every now and [...] read more
group-policy
windows-server-2012-r2
rds
resources
0votes
0answers

Not enough storage is available to process this command (IIS Worker Process memory leak)

I have 64bit Windows Server 2012 where I am getting error: Message: Retrieving the COM class factory for component with CLSID {XXXX-XXXX-XXXX-XXXX} failed due to the following error: 80070008 Not enough storage is available to process this command. (Exception from HRESULT: 0x80070008). The server runs in a farm with another [...] read more
windows-server-2012-r2
iis-8
memory-leak
0votes
0answers

Uwp app got crashed while showing badge with an error - The Notification Platform is Unavailable

My application got crashed with an error message which i am not able to understand - 6268|2021-01-26T18:37:26.2933078+00:00|INFO|2|App|1/26/2021 2:37:26 PM = App_UnhandledException() EX = The notification platform is unavailable. 6269|2021-01-26T18:37:27.8193806+00:00|INFO|2|App|1/26/2021 2:37:27 PM = App_UnhandledException() StackTrace = at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x60 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x36 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + [...] read more
uwp
badge
0votes
0answers

SSIS Job Failed Message: Error 0x80070008 while loading package file "..\Emp.dtsx". Not enough storage is available to process this command

Scheduled job fails with below error message: > Error 0x80070008 while loading package file "..\SSIS\SSIS\Emloyee.dtsx". Not > enough storage is available to process this command. Notes: Another night job is running while this starts, AS per my knowledge it doesn't have any dependency. When I manually execute the job after [...] read more
sql-server
ssis
jobs
msbi
0votes
0answers

Error while loading power query - Could not load file or assembly

For some of the users they're not able to refresh query. I can't even enter into the query editor on thei computers, while for me and other users it's working perfectly fine. What could be solution to this? It throws following error: Feedback Type: Frown (Error) Error Message: Could not [...] read more
excel
powerquery
0votes
2answers

Error-Not enough storage is available to process this command When changing App Pool Process Identity

Running IIS 7.5 on Win2008. Trying to change the App Pool Identity to Administrator user. When I click OK on the dialog, I get this error: "Not enough storage is available to process this command. (Exception from HRESULT: 0x80070008) I have tried IISRest and also Restart the sever But issue [...] read more
iis
iis-7.5
0votes
0answers

SSIS:Not enough storage is available to process this command

I am working on simple ssis package i.e. source is oledb sql and destination is excel. Loading 1 table data into excel. Table contains around 400 000 records. Package is running successfully while running from direct visual studio. But getting error from SQL agent job after automation. Error is: > [...] read more
ssis
0votes
0answers

Not enough memory resources error with hresult 0x80070008 in x86 opencv

After adding opencv4.1.0 to my project, I started to get an error like this : Could not load file or assembly 'xxx.dll' or one of its dependencies. Not enough memory resources are available to process this command. (HResult : 0x80070008) I think the problem is occcuring while all opencv dll [...] read more
c++
visual-studio
opencv
dll
32bit-64bit
0votes
1answer

Unable to read large log file with MemoryMappedViewStream

Question: Is there a way to read files in excess of 2GB using MemoryMappedViewStream? I am attempting to read log files that are anywhere from 1 to 12 GB. The 1GB files read OK, but I am receiving the following error when reading a 4GB file: > System.IO.IOException HResult=0x80070008 Message=Not [...] read more
c#
memory
0votes
0answers

Memory Error - while iterating Execute Package Tasks Multiple times

I have a developed a solution where I have the below flow to execute for Parallel Processing. Launch Package - Pick the Scheduled Job and Triggers Tasks to Parent Package based on certain criteria’s Parent Package - Has different flows to execute tasks for Remote and Table creation Child Packages [...] read more
c#
c#-4.0
ssis
ssis-2012
ssis-2008
0votes
2answers

SSIS Package Execution Fails when large size Excel File is loaded via SSIS Catalog (SSISDB)

the package execute successfully from VS but when deploy on SSIS catalog it gives following error Error: The Execute method on the task returned error code 0x80070008 (Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Not enough storage is available to process this [...] read more
excel
ssis
etl
0votes
0answers

SQL Server Import Wizard

When I upload a Excel file on 'SQL Server Import and Export Wizard', I received the following error message: Not enough storage is available to process this command. (Exception from HRESULT: 0x80070008) (Microsoft.SqlServer.DTSRuntimeWrap) enter image description here [https://i.stack.imgur.com/XOa26.png] Can someone help me to understand and solve this error? Thanks read more
sql
sql-server
0votes
1answer

WPF - error when calling Measure: Not enough storage is available to process this command. (Exception from HRESULT: 0x80070008)

In a WPF, single-thread application, I'm adding several FixedPages to a FixedDocument. Every FixedPage contains many other objects, like Images and TextBlocks. Everything goes OK, but after some time (having added about 300 pages), I create a new TextBlock, fill some properties to it, and before adding it to the [...] read more
c#
wpf
comexception
0votes
0answers

Memory usage after running a long job

I have a long process running (importing data from an XML file, it can run hours, the XML file size could be around 25-30MB), and after the end of this process I have a huge memory usage (that is not liberated after the end of the ran). And I experienced [...] read more
c#
memory
memory-management
0votes
0answers

Python win32com out of memory error

In order to operate a 3rd party device, I use python's win32com module to interact with the provided UI. This works as expected in general, but rarely (every 10k calls or so) the COM API throws the error -2147024888 (0x80070008) with the description not enough storage is available to process [...] read more
python
winapi
com
win32com
0votes
1answer

Not enough storage is available to process this command (VS compile, runtime)

I am getting the following error in Visual Studio during the build: > ...\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2868,9): error > MSB3021: Unable to copy file "obj\Debug\someproject.dll" to > "Bin\Debug\someproject.dll". Not enough storage is available to process this > command. And sometimes (if I could compile the solution) the following one in run-time when starting [...] read more
c#
windows
visual-studio-2010
visual-studio
silverlight
0votes
1answer

how to fix Out of memory error in c#

I created dll from c function and importing into c# When I call the dll function I am getting error: Unable to load DLL 'subFunction.dll': Not enough storage is available to process this command. (Exception from HRESULT: 0x80070008). How to fix it. read more
c#
visual-studio-2010
dll
dllimport
visual-c++-2010

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0