Closed fireundubh closed 6 years ago
I wonder if I'm not using Scriban's TextWriterOutput
correctly or is it not completely "streamful".
I changed the code so it matches the one in the linked issue on Scriban. Hopefully, it will help with this issue, although I'm seeing that it still buffers some data regardless. Also, the newly introduced partitioning should also help with this problem.
I get an out of memory exception when rendering a very large channel history as HTML.
Here's the line where the exporter crashed in
DiscordChatExporter.Core.Services.ExportService
:Here's the stack:
Here's a related issue on the Scriban tracker: https://github.com/lunet-io/scriban/issues/54