Gajim cannot allocate memory while playing a message sound
After using Gajim for a while quite intensively it starts to use lots of memory(like ~1GB or so) and shows this traceback when i send a message:
Traceback (most recent call last):
File "/usr/share/gajim/src/chat_control.py", line 580, in _on_message_textview_mykeypress_event
self.send_message(message, xhtml=xhtml) # send the message
File "/usr/share/gajim/src/chat_control.py", line 1853, in send_message
callback_args=[contact, message, encrypted, xhtml])
File "/usr/share/gajim/src/chat_control.py", line 634, in send_message
callback=callback, callback_args=callback_args)
File "/usr/share/gajim/src/message_control.py", line 203, in send_message
callback_args=callback_args)
File "/usr/share/gajim/src/common/connection.py", line 1231, in send_message
callback_args)
File "/usr/share/gajim/src/common/connection.py", line 1362, in _on_continue_message
self.dispatch('MSGSENT', (jid, msg, keyID))
File "/usr/share/gajim/src/common/connection.py", line 199, in dispatch
self.put_event((event, data))
File "/usr/share/gajim/src/common/connection.py", line 195, in put_event
gajim.handlers[ev[0]](self.name, ev[1])
File "gajim.py", line 937, in handle_event_msgsent
helpers.play_sound('message_sent')
File "/usr/share/gajim/src/common/helpers.py", line 758, in play_sound
play_sound_file(path_to_soundfile)
File "/usr/share/gajim/src/common/helpers.py", line 818, in play_sound_file
exec_command(command)
File "/usr/share/gajim/src/common/helpers.py", line 354, in exec_command
subprocess.Popen(command, shell = True)
File "/usr/lib64/python2.6/subprocess.py", line 595, in __init__
errread, errwrite)
File "/usr/lib64/python2.6/subprocess.py", line 1009, in _execute_child
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
soundplayer config pref is standard "aplay".