Export to GitHub

autokey - issue #43

Big memory leak


Posted on May 5, 2010 by Happy Panda

Using the latest subversion 0.70 I noticed that Autokey's memory footprint was a massive 1.8gb and I've only got one phrase setup. I noticed it had gone up from 256mb to this large number after I had had a few attempts at using my phrase (which incidentally was pressing one letter followed by the trigger and it would create the word I'd setup) and it wasn't working until maybe the 4th or 5th attempt. I don't think this is expected behaviour is it?

Comment #1

Posted on May 5, 2010 by Swift Bird

When reporting a bug, make sure you fill in as much information as possible - the template should give you an idea of what information is needed. As is I can't do anything with this report.

Comment #2

Posted on Jun 18, 2010 by Swift Monkey

Comment deleted

Comment #3

Posted on Jun 18, 2010 by Swift Monkey

I have experienced something similar. I'm running on a fresh install of Lucid, and when I have left AutoKey running on the computer unattended for a couple of days, I have found it using close to 2 GB of RAM. I will try to repeat it to see if I can get any clues from the logs, etc., and I'll post back here.

Comment #4

Posted on Aug 6, 2010 by Happy Panda

How do we get log file of autokey so we can show you the information you need to debug the error of this memory leak?

Comment #5

Posted on Aug 7, 2010 by Swift Bird

See the troubleshooting wiki page

Comment #6

Posted on Aug 7, 2010 by Happy Panda

Ah, so simple when you know how....running it now and will report back if it happens again......its a great program when it works btw!

Comment #7

Posted on Aug 11, 2010 by Massive Kangaroo

I'm getting similar, crashes after a while and takes all my cpu, some error's from before the last time it happened?

DEBUG - service - Key: u'k', modifiers: [''] INFO - service - Matched hotkey phrase/script with prompt=False DEBUG - service - Script runner executing: Script('arr_up') DEBUG - interface - Send special key: [u''] ERROR - service - Script error Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/autokey/service.py", line 398, in execute exec script.code in self.scope File "", line 1, in File "/usr/lib/python2.6/dist-packages/autokey/scripting.py", line 58, in send_key self.mediator.send_key(key.decode("utf-8")) File "/usr/lib/python2.6/dist-packages/autokey/iomediator.py", line 283, in send_key self.interface.send_key(keyName) File "/usr/lib/python2.6/dist-packages/autokey/interface.py", line 487, in send_key self.__sendKeyCode(self.__lookupKeyCode(keyName)) File "/usr/lib/python2.6/dist-packages/autokey/interface.py", line 588, in __sendKeyCode self.__sendKeyPressEvent(keyCode, modifiers, theWindow) File "/usr/lib/python2.6/dist-packages/autokey/interface.py", line 622, in __sendKeyPressEvent focus.send_event(keyEvent) AttributeError: 'int' object has no attribute 'send_event'

Comment #8

Posted on Sep 22, 2010 by Swift Bird

Any further reports of this?

Comment #9

Posted on Oct 3, 2010 by Swift Bird

(No comment was entered for this change.)

Status: Invalid

Labels:
Type-Defect Priority-Medium