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

theme use swig template memory leaks #2178

Closed
magicdawn opened this issue Sep 24, 2016 · 2 comments
Closed

theme use swig template memory leaks #2178

magicdawn opened this issue Sep 24, 2016 · 2 comments
Labels
bug Something isn't working resolved

Comments

@magicdawn
Copy link
Contributor

As the title presents, I found the swig style template always got memory leaks.

Example:

neat & next use swig, and leaks, with cpu 100%+
yilia use ejs use 160MB+ memory, so far so good

About the leak of neat, I found it several month ago, see https://cnodejs.org/topic/5743f7c4754d17df1e44d97d , and I tried to find what happens in hexo & swig. Looks like I did not get there.

So I guess replace swig with ejs will save my little theme, and report the problem here. Thanks

@NoahDragon
Copy link
Member

Thank you. So far the swig is not maintained by its author (https://github.com/paularmstrong/swig), we couldn't do much about it. I personally suggest to use ejs for more clear syntax :).

@stevenjoezhang
Copy link
Member

stevenjoezhang commented Oct 29, 2019

@curbengh This issue can be closed due to #2949 and #2903

@stevenjoezhang stevenjoezhang added bug Something isn't working resolved and removed need-verify labels Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resolved
Projects
None yet
Development

No branches or pull requests

3 participants