You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But actually the memory used will increase while rendering which is obviously the proof that there is something wrong with GC.
This issue is affecting me because my project is using more then 10 plugins, and that will take more memory in use and will take longer time rendering. So I can't build my project after my project grows rapidly by time.
The doc folder is less than 10M in size, and more than a half of it's size are images. So I think that vuepress should have the ability to build it.
On windows 10, the demo I provided to you will use around 1200MB memory after building(before starting to render HTML). And it will sometimes build successlly, but it will always take more and more memory when rendering, and will reach 2GB in the end.
And, to make it more obviously, you can copy some files in the theme folder, you can use more plugins, you can add more files. That will all let the build process crush earilier.
P.S.: If you are testing it by adding more files, make sure their content are different, otherwise it won't have any effect because of cache-loader.
It seems there are some problems with GC when rendering HTML. From the source code,
vue-server-renderer
will parse the html on by one.But actually the memory used will increase while rendering which is obviously the proof that there is something wrong with GC.
This issue is affecting me because my project is using more then 10 plugins, and that will take more memory in use and will take longer time rendering. So I can't build my project after my project grows rapidly by time.
In order not to here some reply like "Maybe there is something wrong with your plugin", I make a demo here with only two offical plugin: https://github.com/Mister-Hope/vuepress-stress-test
And here is the ci build log: https://travis-ci.com/github/Mister-Hope/vuepress-stress-test
The doc folder is less than 10M in size, and more than a half of it's size are images. So I think that vuepress should have the ability to build it.
On windows 10, the demo I provided to you will use around 1200MB memory after building(before starting to render HTML). And it will sometimes build successlly, but it will always take more and more memory when rendering, and will reach 2GB in the end.
And, to make it more obviously, you can copy some files in the theme folder, you can use more plugins, you can add more files. That will all let the build process crush earilier.
P.S.: If you are testing it by adding more files, make sure their content are different, otherwise it won't have any effect because of
cache-loader
.I am opening this issue because as my acticles grows, I can no longer build my blog https://github.com/Mister-Hope/blog
The text was updated successfully, but these errors were encountered: