diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-06-24 19:51:18 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-06-24 19:51:18 +0200 |
commit | c93a726d8fffdca2b90aa22eed13ce58a0e8009f (patch) | |
tree | a0c39945367851b40dfd73d86508ceae3ce08acb /src/InputMemory.cpp | |
parent | 0a89de68defe14fb166a0a24b59ef495113a8b9d (diff) | |
download | dabmod-c93a726d8fffdca2b90aa22eed13ce58a0e8009f.tar.gz dabmod-c93a726d8fffdca2b90aa22eed13ce58a0e8009f.tar.bz2 dabmod-c93a726d8fffdca2b90aa22eed13ce58a0e8009f.zip |
Fix UHD buffering leading to out of memory
Since commit d9ef93e, UHD does not backpressure the modulator anymore.
If a pipe input is used, the ODR-DabMux before also doesn't get any
back-pressure, the modulation thread and the mux run a very high rate.
This high rate fills the buffer between OutputUHD and its worker thread,
until the out-of-memory killer kills ODR-DabMod.
Less impact on ZMQ input, because that is throttled at the mux, but
we still have a buffer that can grow in an uncontrolled way
Diffstat (limited to 'src/InputMemory.cpp')
0 files changed, 0 insertions, 0 deletions