[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] expl me this
From: |
Marcus D. Leech |
Subject: |
[Discuss-gnuradio] expl me this |
Date: |
Sun, 05 Dec 2010 18:25:16 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Thunderbird/3.1.6 |
Why should:
http://www.sbrac.org/files/testme.py
http://www.sbrac.org/files/testme.grc
Be causing Gnu Radio to attemp to allocate 16GB of virtual memory?
Under what drug-induced fantasy should a straight-line
FFT (admittedly a chunky FFT) buffer be ballooned out by a factor of
1000, when the FFT size is a power of 2!
I realize that only *half* of that space actually maps to physical
memory, but 8GB for an FFT of order 2**23 is decidedly piggy.
Furthermore, it always provokes a fatal error, no matter which "factory"
I use for buffer allocation:
gr_vmcircbuf_mmap_shm_open: invalid size = -795873280
gr_buffer::allocate_buffer: failed to allocate buffer of size 15999996 KB
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Because it looks like that buffer size is 32-bits unsigned, regardless
of the underlying system architecture (I'm on an x86_64 machine).
--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org
- [Discuss-gnuradio] expl me this,
Marcus D. Leech <=