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

Invoice / Receipt pdf output: write it directly to the outputstream instead of keeping it in memory #578

Closed
syjer opened this issue Jan 12, 2019 · 1 comment
Assignees
Milestone

Comments

@syjer
Copy link
Member

syjer commented Jan 12, 2019

Currently in InvoiceReceiptController we keep the pdf in memory in a byte array and the call `FileUtil.sendPdf`` , we can improve the memory consumption by directly writing the pdf to the outputsream.

Note: most likely we have this issue in others places.

@syjer syjer added this to the 2.0-M1 milestone Jan 12, 2019
@syjer syjer self-assigned this Jan 12, 2019
@syjer
Copy link
Member Author

syjer commented Jan 12, 2019

should be fixed. Note: we can improve in more places!

@syjer syjer closed this as completed Jan 12, 2019
cbellone added a commit that referenced this issue Jan 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant