Sign in to follow this  
HEROofMAIDAN

JS memory leaks

Recommended Posts

Does JS server has memory leaks? Or it my scripts? Can't find cause. Does not depend, I am alone on the server or 10 people, the server consumes ~100kb every ~10 seconds

 

*windows server 2016

Edited by HEROofMAIDAN

Share this post


Link to post
Share on other sites

It's possible node/v8 allocates internal stuff. From what I heard from people who reported the same "issue" garbage collector gets enabled when it reaches some limit so it stops growing.

Share this post


Link to post
Share on other sites
28 минут назад, ragempdev сказал:

It's possible node/v8 allocates internal stuff. From what I heard from people who reported the same "issue" garbage collector gets enabled when it reaches some limit so it stops growing.

Я не знаю когда он там включается, но когда сервер достигает 600мб озу, то падает (больше свободной нет на самом физ. сервере (забито всякими другими приложениями). Не знаю есть ли смысл пробовать брать еще пару гигов). Вот на локалке у меня когда я один, он растет до ~50мб, потом падает до 15мб ОЗУ (сервер стартует на 37мб озу). А дебага никакого нет в самом рейдже?

Edited by HEROofMAIDAN

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.