Memory leak and slow down due to text buffer tag table reuse #4

Closed
itkach opened this Issue Oct 26, 2010 · 3 comments

Projects

None yet

1 participant

@itkach
Member
itkach commented Oct 26, 2010

(Originally reported by itkach on Feb 18, 2009 at BitBucket)

Same instance of tag table is used for all article text buffers. As a result each time a text buffer is created a large number of new tags is added to the tag table, these tags are never removed. The tag table grows in memory and significantly slows down gtk.Widget.destroy(), so relatively soon clearing articles when starting new lookup becomes very slow and makes UI unresponsive.

Version affected: 0.7.1

@itkach
Member
itkach commented Oct 26, 2010

(Commented by itkach on Feb 18, 2009 at BitBucket)

Bump!

@itkach
Member
itkach commented Oct 26, 2010

(Commented by itkach on Feb 19, 2009 at BitBucket)

Memory leak fix: [Author: Igor Tkach

Age: 20 months ago

Fixed memory leak from using the same text tag table instance in all text
buffers">r616:14a6204c8bcd]1 . Faster clear_tabs() implementation:
[Author: Igor Tkach

Age: 20 months ago

Faster clear_tabs() implementation">r618:118fb94ee10d]2

@itkach
Member
itkach commented Oct 26, 2010

Resolved in 0.7.1

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment