Halil Ibrahim Özcan
Halil Ibrahim Özcan
this is the complete error message (copied from fsi): ``` System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Text.StringBuilder.ToString() at FSharp.Data.Runtime.BaseTypes.XmlElement.Create(TextReader reader) in D:\a\FSharp.Data\FSharp.Data\src\FSharp.Data.Xml.Core\XmlRuntime.fs:line 59 at .$FSI_0003.main@() in /Users/halilibrahimozcan/source/projects/fsharp_xml_parsing/script.fsx:line 25...
@cartermp No, I have not configured fsi in any way. I'm running on MacOS if that makes a difference.
@Thorium Can you point to where I should set the encoding? I tried the following: `let text = File.ReadAllText(path, Encoding.UTF32)` which didn't work, unfortunately. UTF16 wasn't available either.
@Thorium Hi, I just opened it in Notepad++; The file was encoded in UTF-8 to begin with.
@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...