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/09/24 03:30:24 85mb 185mb 71mb 0mb