Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Error "Exception of type 'System.OutOfMemoryException' was thrown.

 Hi,

 

Kindly, could you tell me how I can correct this error ?

 

"Exception of type 'System.OutOfMemoryException' was thrown.

True"

 

ObjectCacheSessions/Data/CacheStats/Size {"Start":"2023-03-17T11:11:00.7938076Z","Action":"ObjectCacheSessions/Data/CacheStats/Size","entryCount":"1","totalSize":"24","ProductVersion":"2.115.663.0","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"Microsoft.Mashup.Container.NetFX45","Pid":712,"Tid":1,"Duration":"00:00:00.0001217"}

ObjectCacheSessions/Data/CacheStats/Access {"Start":"2023-03-17T11:11:00.7942272Z","Action":"ObjectCacheSessions/Data/CacheStats/Access","hits":"0","requests":"1","hitrate":"0","ProductVersion":"2.115.663.0","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"Microsoft.Mashup.Container.NetFX45","Pid":712,"Tid":1,"Duration":"00:00:00.0000213"}

SimpleDocumentEvaluator/GetResult/Compile {"Start":"2023-03-17T11:11:00.8970798Z","Action":"SimpleDocumentEvaluator/GetResult/Compile","HostProcessId":"8792","PartitionKey":"Section1/Par\u00E2metro2","Expression":"let\r\n  _t = Section1!Par\u00E2metro2\r\nin\r\n  if _t is table then Table.FirstN(_t, 0) meta Value.Metadata(_t)\r\n  else if _t is list then List.FirstN(_t, 0) meta Value.Metadata(_t)\r\n  else _t","ProductVersion":"2.115.663.0","ActivityId":"c00f8d07-e657-4bb3-ba62-47b0fe4ca9c5","Process":"Microsoft.Mashup.Container.NetFX45","Pid":712,"Tid":1,"Duration":"00:00:00.2865281"}

SimpleDocumentEvaluator/GetResult/Evaluate {"Start":"2023-03-17T11:11:01.1836300Z","Action":"SimpleDocumentEvaluator/GetResult/Evaluate","HostProcessId":"8792","PartitionKey":"Section1/Par\u00E2metro2","ProductVersion":"2.115.663.0","ActivityId":"c00f8d07-e657-4bb3-ba62-47b0fe4ca9c5","Process":"Microsoft.Mashup.Container.NetFX45","Pid":712,"Tid":1,"Duration":"00:00:00.2227759"}

SimpleDocumentEvaluator/GetResult<IPreviewValueSource> {"Start":"2023-03-17T11:11:00.8935804Z","Action":"SimpleDocumentEvaluator/GetResult<IPreviewValueSource>","HostProcessId":"8792","PartitionKey":"Section1/Par\u00E2metro2","ProductVersion":"2.115.663.0","ActivityId":"c00f8d07-e657-4bb3-ba62-47b0fe4ca9c5","Process":"Microsoft.Mashup.Container.NetFX45","Pid":712,"Tid":1,"Duration":"00:00:00.5347441"}

FirewallDocumentEvaluator/GetResult<Microsoft.Mashup.Evaluator.Interface.IPreviewValueSource> {"Start":"2023-03-17T11:11:00.8663860Z","Action":"FirewallDocumentEvaluator/GetResult<Microsoft.Mashup.Evaluator.Interface.IPreviewValueSource>","HostProcessId":"8792","ProductVersion":"2.115.663.0","ActivityId":"c00f8d07-e657-4bb3-ba62-47b0fe4ca9c5","Process":"Microsoft.Mashup.Container.NetFX45","Pid":712,"Tid":1,"Duration":"00:00:00.5415334"}

 

 

Status: Investigating

Hi @Gisele ,

According to the official document can see:

An OutOfMemoryException exception has two major causes:

  • You are attempting to expand a StringBuilder object beyond the length defined by its StringBuilder.MaxCapacity property.

  • The common language runtime cannot allocate enough contiguous memory to successfully perform an operation. This exception can be thrown by any property assignment or method call that requires a memory allocation. For more information on the cause of the OutOfMemoryException exception, see the blog post "Out of Memory" Does Not Refer to Physical Memory.

You can also try the solution in the similar thread

This problem usually occurs when some process such as loading huge data to memory stream and your system memory is not capable of storing so much of data. Try clearing temp folder by giving the command

start -> run -> %temp%

Best regards,

Community Support Team_kalyj

Comments
v-yanjiang-msft
Community Support
Status changed to: Investigating

Hi @Gisele ,

According to the official document can see:

An OutOfMemoryException exception has two major causes:

  • You are attempting to expand a StringBuilder object beyond the length defined by its StringBuilder.MaxCapacity property.

  • The common language runtime cannot allocate enough contiguous memory to successfully perform an operation. This exception can be thrown by any property assignment or method call that requires a memory allocation. For more information on the cause of the OutOfMemoryException exception, see the blog post "Out of Memory" Does Not Refer to Physical Memory.

You can also try the solution in the similar thread

This problem usually occurs when some process such as loading huge data to memory stream and your system memory is not capable of storing so much of data. Try clearing temp folder by giving the command

start -> run -> %temp%

Best regards,

Community Support Team_kalyj