prrrnd / atom-git-projects

List and open your local Git projects in Atom.
MIT License
37 stars 18 forks source link

Ran out of Memory trying to index folders #75

Open NullVoxPopuli opened 6 years ago

NullVoxPopuli commented 6 years ago

Computer (i7 with 16GB ram and 16GB swap) ran out of memory trying to index the git projects.

I had depth set to 5, and had:

~/Development/
 - NullVoxPopuli/
   - personal git repo 
   - personal git repo
 - MyWork/
    - WorkProjectFolder/
      - SubProjectFolder/
        - gitrepo1
        - gitrepo2
      - SubProjectFolder/
        - gitrepo3
   - WorkProjectFolder2/
    - etc
- OpenSourceProject/
 - related git repo
  - etc

Took about 5 minutes to drop to tty, another 5 to login, took another couple minutes to ps aux | grep atom and then I pkill atom which restored my machine to working order.

when I saw the ps aux | grep atom there were at least 100 git-project cache workers......

After killing all of atom, atom would not open. had to re-install.

apm remove git-projects
sudo dpkg -i atom-amd64.deb