Skip to content
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

A fix for huge memory usage for larger files. #393

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

AniaDomachowska
Copy link

What if there's no layout the result would be written directly to output stream?

I run into out of memory error while generating large files using RazorEngine.

@matthid
Copy link
Collaborator

matthid commented Jun 24, 2016

The test which is currently failing, is that actually a bug (only whitespace is wrong)?

// Push the current body instance onto the stack for later execution.
while ( !reader.EndOfStream)
{
tw.Write(reader.ReadLine());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ReadLine does not include the new line characters. That's why some tests are failing.

@matthid
Copy link
Collaborator

matthid commented Nov 13, 2016

@AniaDomachowska Is this still being worked on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants