kengz / aiva

AIVA (A.I. Virtual Assistant): General-purpose virtual assistant for developers.
http://kengz.me/aiva/
MIT License
824 stars 596 forks source link

AIVA Consuming RAM #32

Closed getsiddd closed 7 years ago

getsiddd commented 7 years ago

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

kengz commented 7 years ago

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.

getsiddd commented 7 years ago

Is there any way we can optimize it?

kengz commented 7 years ago

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.