vue-email / nuxt

💚 Official Nuxt module for Vue Email. Build email templates with Vue components.
https://vuemail.net/getting-started/nuxt-nitro
MIT License
108 stars 3 forks source link

useCompiler memory leak #46

Closed mtrnik closed 1 month ago

mtrnik commented 2 months ago

Hello, I'm facing weird issue with the memory consumption on prod server which is constantly growing and never freed up. I have track it down to the useComplier method. Every time this method is called the used heap memory increases and almost never decreases back to previous value.

I prepared sample repo https://github.com/mtrnik/nuxt-email/tree/main/sample with very basic example of usage.

And also few screenshots from which show the issue

Screenshot 2024-05-28 at 16 23 55 Screenshot 2024-05-28 at 16 23 30 Screenshot 2024-05-28 at 16 23 11 Screenshot 2024-05-28 at 16 23 03

Flowko commented 1 month ago

we just merged a new project rewrite, please do check the docs and the updated logic https://vuemail.net/