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/11/23 07:16:44 85mb 185mb 71mb 0mb