Re: [Dorset] Can my system run out of memory if my program continuously O/Ps messages to the shell?

2017-04-02 Thread Terry Coles
On Sunday, 2 April 2017 15:49:54 BST Terry Coles wrote: > That's a bit of a non-flyer too, because dstat doesn't appear to be > available in the Raspbian repositories. Also, the software is running in > the shell at boot up, so it would be difficult to view two things running. > (Would screen do

Re: [Dorset] Can my system run out of memory if my program continuously O/Ps messages to the shell?

2017-04-02 Thread Terry Coles
On Sunday, 2 April 2017 14:13:02 BST Terry Coles wrote: > > You could leave your program running in tandem with `dstat -cdngym > > $((60*30))' that produces a line every half an hour and see if anything > > obviously degrades over time. > > That wouldn't be very convenient to view, since the

Re: [Dorset] Can my system run out of memory if my program continuously O/Ps messages to the shell?

2017-04-02 Thread Terry Coles
On Sunday, 2 April 2017 14:05:42 BST Ralph Corderoy wrote: > AIUI your program is doing this, with a few more bells and whistles. Lots of bells, but no whistles. > All these bits of code may have bugs where they leak memory in > processing that endless stream and over time that leak will add up

[Dorset] Can my system run out of memory if my program continuously O/Ps messages to the shell?

2017-04-02 Thread Terry Coles
Hi, The question is in the Subject. My Model Town program is designed to run continuously, but I'm not sure if it will run out of memory eventually if the script continuously sends messages to the shell. I vaguely recall that there is a buffer for the content of STDOUT, but can't find any