The max usage of memory was 4Gb (during the bug).
If I move file to a directory, bug stops even I open file from home directory. But...
Right
The option "enable headers code-completion" was unchecked. After that RAM usage returned...
main.cpp is enough. I've got that file have to be in home directory.
I've reproduced it. But i made a mistake. If I open non-project file (single cpp)...
RAM usage