Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Auto-detect include paths exhausts available memory #585

Closed
davesteffen opened this issue May 23, 2018 · 2 comments
Closed

Auto-detect include paths exhausts available memory #585

davesteffen opened this issue May 23, 2018 · 2 comments

Comments

@davesteffen
Copy link

Hi -- large project (~1e7 sloc) , running 'auto detect' starts several processes which quickly grow to consume all available memory, at which point the machine stops being responsive. Any ideas?

uname -a gives:
Linux picknik-3 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

The machine has 32 Gb ram

Thanks!

@egraether egraether added the bug label May 24, 2018
@egraether
Copy link
Contributor

Thanks for reporting, we need to look into this.

How many directories did you add to the dialog "Detect Include Paths"? Did you only add relevant directories? If you add many large directories I can see why this is happening. Try to run the detection on one directory after the other.

@egraether
Copy link
Contributor

Fixed with 2018.2.50
The detection algorithm got stuck in an endless loop under certain circumstances and that caused a boost::path::exception after sometime that crashed the application.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants