|
From: | Paul B. Huter |
Subject: | Re: [Discuss-gnuradio] Invalid Argument/Failed to Allocate Buffer |
Date: | Sat, 23 Nov 2013 08:26:04 -0600 |
Paul, I read that as lack of available shared memory. I'm curious what result you get if you run the following at the command line:sysctl kernel.shmmaxNot sure how you installed gnu radio, but if you used Marcus's build_gnuradio script then the following changes should have been made in /etc/sysctl.conf:# Updates for Gnu Radio net.core.rmem_max = 1000000 net.core.wmem_max = 1000000 kernel.shmmax = 2147483648These would be considered good starting values for general GNUradio with a USRP work.You can experiment at the command line to see if it solves your issue with:sudo sysctl -w kernel.shmmax=2147483648-IanOn Nov 21, 2013, at 3:17 PM, Paul B. Huter <address@hidden> wrote:_______________________________________________I am trying to play back my recorded data and I get the following:
3 instances of vmcircbuf_sysv_shm: shmget(1): Invalid argument
allocate_buffer: failed to allocate buffer size of 25784 KB
Those four lines are repeated, then
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alocMy flow is a file source to a throttle to a frequency xlating fir filter to a wx gui fft sink. Sample rate is 50M.
Any ideas?
Paul B. Huter
[Prev in Thread] | Current Thread | [Next in Thread] |