var ResultSet = from ResultsConcatString in ResultsTable.AsEnumerable()
join ResultsByMaxDate in concatTable.AsEnumerable()
on
new
{
KEY1 = ResultsConcatString.Field
KEY2 = ResultsConcatString.Field
}
equals
new
{
KEY1 = ResultsByMaxDate.Field
KEY2 = ResultsByMaxDate.Field
}
select new
{
STANDARD_VERSION = ResultsByMaxDate.Field
WRITE_TIME = ResultsByMaxDate.Field
IDENTIFICATION = ResultsByMaxDate.Field
REVISION = ResultsByMaxDate.Field
SERIAL_NUMBER = ResultsByMaxDate.Field
};
David SmithPosted Apr 19, 2012, 10:20 PM
Sam HobbsPosted Apr 19, 2012, 9:02 PM
Are you sure you are getting the error from that statement? LINQ often delays execution until later.
Try using try/catch. There might be some other error that your program does not respond to.
SenthilkumarPosted Apr 19, 2012, 5:06 AM
Here problem is not relative to the hard disk. Because the dataset is memory representation and related to the asp.net worker process where it consumes the memory of RAM.
David SmithPosted Apr 19, 2012, 1:22 AM
SenthilkumarPosted Apr 19, 2012, 12:31 AM
I am not sure about exactly what is the problem.
But i think problem with the size of the data stored in the dataset and when it does for serialize and deserialize then problem comes.
If you run in the 32-bit then you may face this problem. I do not think you will have similar kind of problem with 64-bit.
Please see the similar kind of problems and solutions.
http://blogs.msdn.com/b/tess/archive/2008/09/02/outofmemoryexceptions-while-remoting-very-large-datasets.aspx
http://our.componentone.com/groups/winforms/chart-for-winforms/forum/topic/system-out-of-memory-exception-with-large-data-set/