AFAIS, there are two parameters for shared memory: shmmax and shmall.
The first sets the maximum size for a single segment, the latter the
total available shared memory (in number of pages).
You could try to increase shmall as well.
Best,
Bastian
On 11/21/19 11:58 AM, Eamon Heaney wrote:
> Yeah,
Still gives the same error message, only with ">gr::vmcircbuf_mmap_tmpfile:
mmap (1): Cannot allocate memory" instead of "
>gr::vmcircbuf_mmap_shm_open: mmap (1): Cannot allocate memory."
On Thu, Nov 21, 2019 at 1:36 PM Philip Balister wrote:
> Look in
>
> ${HOME}/.gnuradio/prefs/vmcircbuf_def
Look in
${HOME}/.gnuradio/prefs/vmcircbuf_default_factory
and see what is there and maybe change to this:
gr::vmcircbuf_mmap_tmpfile_factory
Philip
On 11/21/19 4:59 AM, Eamon Heaney wrote:
> I'm running the sample wifi_tx.grc flowchart from gr-ieee802.11,
> substituting a null sink for the US
Yeah, I tried changing the maximum shared memory, but that didn't work. I
mean, it didn't resolve the problem; I gave it 2147483648 but the error
persists. I tried adding a zero to that, but that's an "Invalid Argument."
On Thu, Nov 21, 2019 at 5:17 AM Ron Economos wrote:
> You must be running a
You must be running an older kernel that doesn't set kernel.shmmax to
some large value.
To check the current setting:
sysctl kernel.shmmax
To set it higher:
sudo -w kernel.shmmax=2147483648
Ron
On 11/21/19 01:59, Eamon Heaney wrote:
I'm running the sample wifi_tx.grc flowchart from gr-ieee8
I'm running the sample wifi_tx.grc flowchart from gr-ieee802.11,
substituting a null sink for the USRP sink to test it.
When I try to run it, it fails with the following error message:
"
>set_min_output_buffer on block 7 to 207744
>set_min_output_buffer on block 9 to 2077440
>set_min_output_buffer