Analyzer high memory consumption, "Too many files open" errors
See original GitHub issueYou can see the DanTup.dart
file has two separate processes running at the same time and is chewing up a lot of memory. Not long after running the below ps aux
I checked Activity Monitor and the process was chewing through 1.9 GB.
There seems to be a memory leak. I believe this causes the problem of “too many files open” in Terminal after using this for a day or so.
johnbland 90176 0.0 2.3 2937680 381884 ?? S 10:45AM 0:19.31 /usr/local/Cellar/dart/1.23.0/libexec/bin/dart /usr/local/Cellar/dart/1.23.0/libexec/bin/snapshots/analysis_server.dart.snapshot --client-id=DanTup.dart-code --client-version=1.4.1
johnbland 90177 0.0 3.7 3781508 626064 ?? S 10:45AM 2:12.88 /usr/local/Cellar/dart/1.23.0/libexec/bin/dart /usr/local/Cellar/dart/1.23.0/libexec/bin/snapshots/analysis_server.dart.snapshot --client-id=DanTup.dart-code --client-version=1.4.1
Issue Analytics
- State:
- Created 6 years ago
- Comments:69 (29 by maintainers)
Top Results From Across the Web
How to solve "Too many Open Files" in Java applications
The error Java IOException “Too many open files” can happen on high-load servers and it means that a process has opened too many...
Read more >Too Many open files, Why my logs are ... - krishankant singhal
During log analysis i found one error message was interesting for me. “Too Many Open file” , What too many open file ?...
Read more >Error Message: Too Many Open Files - Intel
Error Message: Too Many Open Files. Error Message ... Error Message: Bad File Descriptor · Problem: High Memory Consumption Readings.
Read more >Windows 10 High Memory Usage [Causes and Solutions]
This article explains what high memory usage is and how to check it. It also gives 11 methods to fix Windows 10 high...
Read more >Why do I get "Too many open files" errors? - Stack Overflow
Unclosed streams are essentially a memory leak which may be detected and resolved by the GC. If you're quickly processing many files you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
BTW, Dart 1.25 dev has a MUCH better analysis server page. Parsing data there is much better.
Yeah; I keep thinking about “unhiding” them, because the editor giving squiggles is a bit misleading (it also bugs me that I see these warnings all the time, because I always have logging turned on). I’ll put an issue in for the next release.