Jump to content

Recommended Posts

Posted (edited)

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
Posted

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.

Posted (edited)
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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...