question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Analyzer high memory consumption, "Too many files open" errors

See original GitHub issue

You 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:closed
  • Created 6 years ago
  • Comments:69 (29 by maintainers)

github_iconTop GitHub Comments

1reaction
johnbland-wfcommented, Aug 18, 2017

BTW, Dart 1.25 dev has a MUCH better analysis server page. Parsing data there is much better.

1reaction
DanTupcommented, Aug 18, 2017

nm…they’re private

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found