mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
#1590 Resolves issue with RSP tuners generating too many native buffers causing excessive memory consumption (#1591)
Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
@@ -122,7 +122,7 @@ public class RspNativeBufferFactory
|
||||
{
|
||||
int optimal = 128;
|
||||
|
||||
while((optimal * 2) < length)
|
||||
while((optimal) < length)
|
||||
{
|
||||
optimal *= 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user