kengz/aiva

AIVA Consuming RAM

getsiddd opened this issue · 3 comments

Why AIVA is consuming so much RAM, My computer hangs if i run command npm start ?

kengz commented

The total consumption is about 2Gb - mostly from the python NLP dependencies - spaCy base instance takes about 1.7Gb, and the graph brain adds an extra 600Mb.

Is there any way we can optimize it?

kengz commented

Unfortunately not for now, it's running the spaCy instance as a plain python process. The issue is brought up here on the spaCy page as well

A way is to simply disable the feature together if it's not needed, i.e. by editing config/default.json to NOT run python, i.e. setting this line on the live config file to false.