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.

Increase Consumption of Memory Using Too Many Echo()

See original GitHub issue

I have question related to jQuery Terminal

I made an application that will has like 8 terminal instances open at the same time. While using the for loop to call .echo() on each terminal, the memory just keep building up (According to the Windows Task Manager) the msedgewebview2.exe is going from 90MB to 120MB and more and more… Is there a way that I can fix this issue? I don’t think JQ Terminal instance will save all of my echo output right?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:31 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
jcubiccommented, Sep 4, 2022

I was testing again and got errors from the library. It turns out that you can’t use strings as keys in WeakMap. I’m not sure how it was working when testing your app.

1reaction
jcubiccommented, Aug 31, 2022

I would need to delete the API clear_cache since it will not be needed anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does my system use more RAM after an hour of usage?
Its pretty common for the Linux kernel to use up as much memory as possible to be as fast as possible, which makes...
Read more >
Memory consumption with large array with Echo or Gin ...
Don't build a JSON array of hundred thousand objects in memory. Use json.NewEncoder() , and stream the result to the HTTP response (see...
Read more >
newman memory usage is very high #2789 - GitHub
We have had to continually increase our memory limits in CI due to increasing usage whenever a new set of tests/requests is added....
Read more >
How to check a PHP script memory usage (with examples)
Similarly, memory_get_peak_usage() returns the maximum amount of memory (again, in bytes) used by the script until the function is called. For ...
Read more >
My Process Used Minimal Memory, and My Docker Memory ...
Generally, you want to prevent the container from consuming too much of the host machine's memory. In the case of Linux, once the...
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