-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory Limitations in XmlProvider #1501
Comments
Can you post the stack trace when this happens? |
this is the complete error message (copied from fsi):
Any other way to retrieve info about the error? |
Thanks! In this case it seems the size of the string is too big, as this is failing with the internal |
@cartermp No, I have not configured fsi in any way. I'm running on MacOS if that makes a difference. |
Does it matter if the source file encoding is UTF8 or UTF16 ? |
@Thorium Can you point to where I should set the encoding? I tried the following: |
@Thorium Hi, I just opened it in Notepad++; The file was encoded in UTF-8 to begin with. |
Try using |
@dsyme That doesn't seem to be the issue - i ran the script within Rider, which is anycpu by default as I checked. I also ran a console program, but it's still an OutOfMemoryException. |
I tried to parse a dump of some wikipedia pages with XmlProvider, but no matter what I try, I get a
System.OutOfMemoryException
. Is there some guidance/pattern on how to parse large files with type providers?The file is almost exactly 2 GB large.
my code:
The text was updated successfully, but these errors were encountered: