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

Generate PDF in iframe

Generate PDF in its own window

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 01:34:06 85mb 185mb 70mb 0mb