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 08:08:59 94mb 560mb 87mb 0mb
2. pdf 24/09/24 08:08:38 79mb 403mb 72mb 0mb