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

Open
magicdawn opened this Issue Sep 24, 2016 · 1 comment

Comments

2 participants
@magicdawn
Contributor

magicdawn commented Sep 24, 2016

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

This comment has been minimized.

Show comment
Hide comment
@NoahDragon

NoahDragon Nov 9, 2016

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 :).

Member

NoahDragon commented Nov 9, 2016

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 :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment