I had a similar problem a couple of weeks ago on my Linux system.

Some systems have a low value on the total amount of shared memory that can be allocated by a program or all programs together. This is a kernel parameter and of course can be altered.

To view the current values just run

sysctl --all

as root and search for the kernel.shmall and kernel.shmmax entries and their values. The numbers indicating the amount of memory in bytes. If they are low, you should change them with a bigger value.

On 06/25/2013 05:49 PM, Manu T S wrote:
I have made an LDPC encoder and decoder block derived from gr_sync_block. A python application with a top block defining the connections and a main function calling run() method in the top block is written to test these blocks.

The codes are available in the following repo.
https://github.com/manuts/ldpc

I'm getting this error on running a python application.
-----------------------------------------------------------------------------------------------------------
gr::vmcircbuf_sysv_shm: shmget(1): No space left on device
gr::buffer::allocate_buffer: failed to allocate buffer of size 64 KB
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted
------------------------------------------------------------------------------------------------------------
I used htop to test the memory usage, but memory usage was alright, but the CPU usage was going 100%. What could be the reason for this error?

--
Manu T S


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to