Is there a way to reserve a block of memory when starting realaudio. I have noticed that when my system is running out of free memory the audio quality goes to sh*t as the open application fight over resources. Mike total used free shared buffers cached Mem: 261668 24760 236908 0 5472 6712 -/+ buffers/cache: 12576 249092 Swap: 136512 0 136512 total used free shared buffers cached Mem: 261668 159788 101880 0 6396 73424 -/+ buffers/cache: 79968 181700 Swap: 136512 0 136512 total used free shared buffers cached Mem: 261668 93128 168540 0 6632 73600 -/+ buffers/cache: 12896 248772 Swap: 136512 0 136512
Oops. I did not mean to leave the outputs from 'free' in this message :( ... please ignore them. On Wednesday 14 February 2001 16:42, Michael Long wrote:
Is there a way to reserve a block of memory when starting realaudio. I have noticed that when my system is running out of free memory the audio quality goes to sh*t as the open application fight over resources.
Mike
total used free shared buffers cached Mem: 261668 24760 236908 0 5472 6712 -/+ buffers/cache: 12576 249092 Swap: 136512 0 136512
total used free shared buffers cached Mem: 261668 159788 101880 0 6396 73424 -/+ buffers/cache: 79968 181700 Swap: 136512 0 136512
total used free shared buffers cached Mem: 261668 93128 168540 0 6632 73600 -/+ buffers/cache: 12896 248772 Swap: 136512 0 136512 _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
==> Regarding [Wlug] Memory issues; Michael Long <michaellong@charter.net> adds: michaellong> Is there a way to reserve a block of memory when starting michaellong> realaudio. I have noticed that when my system is running out michaellong> of free memory the audio quality goes to sh*t as the open michaellong> application fight over resources. Without the source, no. With the source, you could do an mlockall(MCL_FUTURE), which would lock all of the app's pages into memory. One question, though. When you say your system is running out of free memory, on what are you basing that statement? The output of free? Much of what is in memory is cached. If it wasn't, performance would suck. Thus, the "free" field should report very little if your OS is being at all effective at memory management. One other question, what kernel version are you running? Regards, Jeff
participants (2)
-
Jeff Moyer
-
Michael Long