I built GR from source on the machine and the machine is running Ubuntu 14.04 64-bit. So I guess my GR is 64-bit, too.
Actually, while watching the simulation running at the moment, I noticed that memory usage is indeed increasing slowly (but at a rate that wouldn't fill up the system memory in days...). 2014-11-25 18:37 GMT+01:00 Marcus Müller <[email protected]>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Felix, > > > On 11/25/2014 06:15 PM, Felix W. wrote: > > Between every run, I call tb.stop() followed by tb.wait(). > > Unfortunately, after a few runs (around 20), I get the following > > error message: > > > > gr::vmcircbuf_sysv_shm: shmget (2): No space left on device > I have a suspicion. > First of all, I know this sounds basic, but you're not using a 32bit > GR on your 64 bit machine, are you? (that would explain running out of > RAM faster, just because process memory is so very limited for 32bit > processes) > > then: vmcircbuf is one of the things I always was kind of hesitant to > touch (or even try to understand in depth), just because it deals with > a lot of POSIX/OS specifics that I'm not an expert in, but: > > Maybe tb.stop()/wait doesn't actually successfully unmap the shared > memory segments of the buffers; there's a global maximum of segments, > and it 4096 by default (/proc/sys/kernel/shmmni). However, this > shouldn't be the problem at hand: there's an error number for this > condition. And it would be: ENOSPC. Great. The same thing as for "No > space left on device"; Thank you, Posix.1... > > Cheers, > Marcus > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iQEcBAEBAgAGBQJUdL5ZAAoJEAFxB7BbsDrLaIcH/3GZa562FhMLZ7vqafSEQnBG > o3DWr54Wmq1NFbWGVuLTdT4+QFFn5UN5s7RKCdmhJ+KVeqxisV/nCSbH/WfShx8Y > DIq5o28BWsudwNsxtkq94mo57ELgj27fnHItIthqSsPGcUuIX4xszL7YTxsD++ai > Fz6wikE7rt0+01sP5OeIXKpJkXAvWB7VLX+M89tlDCWceF9Nr0nJCleLZCLXSeIq > 0n+u7RR3iXU6+RSyDLgK9KNCtNiUyb0p24L4m+jqsAQ/IfT6J/Ip0X5CFLoXg1A3 > ocBj6+kT1bq9aztRE2j92ZLVk//CKiuWANCo2lahNUatVehQJ0kANT2DDwp8rNU= > =32+6 > -----END PGP SIGNATURE----- > > _______________________________________________ > 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
