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

[api-minor] Attempt to reduce memory usage during printing, by always running cleanup once rendering has finished #10879

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

Given that cleanupAfterRender is already set for large images, when handling 'obj' messages, this patch should thus be safe in general (since otherwise there ought be existing bugs related to cleanup and printing).

@Snuffleupagus Snuffleupagus force-pushed the print-cleanupAfterRender branch 2 times, most recently from 7f0d4b0 to 3ec0ed7 Compare June 2, 2019 22:24
… running `cleanup` once rendering has finished

Given that `cleanupAfterRender` is already set for large images, when handling 'obj' messages, this patch *should* thus be safe in general (since otherwise there ought be existing bugs related to cleanup and printing).
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Jun 3, 2019

From: Bot.io (Linux m4)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/b62d6f31a73024f/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 3, 2019

From: Bot.io (Windows)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.215.176.217:8877/1a8ab1482e44546/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 3, 2019

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/b62d6f31a73024f/output.txt

Total script time: 17.80 mins

  • Font tests: Passed
  • Unit tests: FAILED
  • Regression tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented Jun 3, 2019

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/1a8ab1482e44546/output.txt

Total script time: 28.59 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

pdfjsbot commented Jun 3, 2019

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/120f425088ae437/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 3, 2019

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/120f425088ae437/output.txt

Total script time: 1.89 mins

Published

@timvandermeij timvandermeij merged commit bb540e4 into mozilla:master Jun 9, 2019
@timvandermeij
Copy link
Contributor

Seems to work just fine; thanks!

@Snuffleupagus Snuffleupagus deleted the print-cleanupAfterRender branch June 9, 2019 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants