Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: memory leak for resvg-wasm #37

Closed
wants to merge 2 commits into from
Closed

Conversation

ggomaeng
Copy link
Contributor

@ggomaeng ggomaeng commented Jul 4, 2024

Problem

  • node/bun server projects using frog + hono-og eventually runs out of memory after certain uptime
  • the images in the frames fail to render

image

Solution

  • free the memories after converting svg to png

related
https://github.com/orgs/vercel/discussions/6117#discussioncomment-8776252

@ggomaeng
Copy link
Contributor Author

ggomaeng commented Jul 4, 2024

maybe this isn't the solution - we encountered memory leak again

related:
vercel/next.js#61047

@tmm
Copy link
Member

tmm commented Sep 23, 2024

this should take care of it

#38

@tmm tmm closed this Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants