Re: How to debug long-lived D program memory usage?

2019-04-18 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 19 April 2019 at 02:58:34 UTC, Alex wrote: Curious, what are these programs? A terminal emulator gui (like xterm), a detachable terminal emulator (like gnu screen), a slack client, an irc client, and a bunch of http servers including d doc search, a work program, and a personal

Re: How to debug long-lived D program memory usage?

2019-04-18 Thread Alex via Digitalmars-d-learn
On Wednesday, 17 April 2019 at 16:27:02 UTC, Adam D. Ruppe wrote: D programs are a vital part of my home computer infrastructure. I run some 60 D processes at almost any time and have recently been running out of memory. Each individual process eats ~30-100 MB, but that times 60 =

Re: How to debug long-lived D program memory usage?

2019-04-18 Thread ikod via Digitalmars-d-learn
On Wednesday, 17 April 2019 at 16:27:02 UTC, Adam D. Ruppe wrote: D programs are a vital part of my home computer infrastructure. I run some 60 D processes at almost any time and have recently been running out of memory. I usually run program under valgrind in this case. Though it will

Re: How to debug long-lived D program memory usage?

2019-04-18 Thread Kagamin via Digitalmars-d-learn
If you have a slow memory leak, you can speed it up by a stress test. Also the debug built application can run in a separate environment.