I've got this the simplest query ever in my LINQPad:
var xml = XElement.Load(@"C:\\Users\\myth\sample.xml");
var query =
from e in xml.Elements()
select e;
query.Dump();
The problem is that it gives me back System.OutOfMemoryException. XML file is around 120MB.
I've read it here that LINQPad has a limitation of returning only 10000 rows.
So, then I've tried putting it like this
var query =
(from e in xml.Elements()
select e).Take(100);
query.Dump();
yet it gave me back the same error.
LINQPad version: v4.45.05