Weasyprint Memory Test

The purpose of this is to explore a possible memory leak in Weasyprint. Use the links below to render HTML (this page) and/or render and generate a PDF.

GitHub source

PDF

Regenerate PDF (refresh page)

Regenerate PDF in its own window

Hide PDF

Last <50 memory readings from psutil

The memory is measured at the start of each request. This log is cleared whenever the Heroku dyno restarts.

type date rss vms uss swap
1. html 24/11/23 15:03:19 79mb 403mb 72mb 0mb