xml - LINQPad throws System.OutOfMemoryException -
i've got simplest query ever in linqpad:
var xml = xelement.load(@"c:\\users\\myth\sample.xml"); var query = e in xml.elements() select e; query.dump();
the problem gives me system.outofmemoryexception. xml file around 120mb.
i've read here linqpad has limitation of returning 10000 rows.
so, i've tried putting
var query = (from e in xml.elements() select e).take(100); query.dump();
yet gave me same error.
linqpad version: v4.45.05
figured out myself.
when dealing huge xml files (>100mb) or other massive queries whatsoever, need have x64 build installed.
Comments
Post a Comment