|
Re: Large XML files loaded twice into memory [message #1220253 is a reply to message #1219674] |
Tue, 10 December 2013 16:21 |
Nick Sandonato Messages: 126 Registered: July 2009 |
Senior Member |
|
|
Hi Philippe,
Thanks for your comments. There was a bug opened for the XML task scanner [1] that was just fixed. The Markup Validator does indeed work by loading the entire structured document into memory, including the model, to check the markup. We might be able to refactor a lot of the validation into a streaming fashion similar to the task scanner. I would have to do some investigation.
Your suggestion of skipping over files that are too large is definitely a possibility too. If we're going to crash anyway, there's no point in even trying to validate it. But it would definitely be cooler to get more of a streaming solution.
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=364880
[Updated on: Tue, 10 December 2013 16:22] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02780 seconds