rxi / lite

A lightweight text editor written in Lua
MIT License
7.41k stars 352 forks source link

Huge memory consumed in big projects #185

Open ab22593k opened 4 years ago

ab22593k commented 4 years ago

In big projects the editor takes too long to open the tree file with a huge amount of memory consumed (>6Gib), which is not reasonable. open project with rust or llvm. I'm using archlinux Linux 5.7.9-1-MANJARO. i3 version 4.18.1 (2020-04-22). lite : latest version 1.11

Tmpod commented 4 years ago

This is most likely connected with #98. It seems lite's core project scanner simply scans indefinetly until the complete tree is cached, which naturally causes trouble if the tree is huge.