Getting error while executive code

Last Reply 7 days ago By dharmendr

Posted 7 days ago

Getting exception while executive code ...........


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

You are viewing reply posted by: dharmendr 7 days ago.
Posted 7 days ago

Hi manoj07,

This is due to large amount of data which is unable to fit in the physical memory.

The first thing is that you have to check how many columns you are returning and what their data types are. Error suggests that you are either returning more fields than you need or perhaps some of the fields are very large strings or binary data. Try to write select statement that returns only the fields that are absolutely needed for the display.


I agree, here is the link: