KevinTsui1234 / tint2

Automatically exported from code.google.com/p/tint2
GNU General Public License v2.0
1 stars 0 forks source link

Memory leak #392

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
After about about a day tint2 got up to 1GB of memory usage.  My tint2rc is 
attached.  Used tint2 version - 0.11.

Original issue reported on code.google.com by projects...@gmail.com on 2 Feb 2012 at 11:19

Attachments:

GoogleCodeExporter commented 8 years ago
Confirm this with both 0.11+svn20111022-3 built by debian and latest svn. 
Memory usage goes up whenever I switch between windows or between desktops and 
never goes down.

Quick check with valgrind reveals this (among other noise)

==22977== 147,149 (4,640 direct, 142,509 indirect) bytes in 20 blocks are 
definitely lost in loss record 969 of 972
==22977==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==22977==    by 0x41C126: add_task (task.c:88)
==22977==    by 0x41E764: task_refresh_tasklist (taskbar.c:286)
==22977==    by 0x40E41D: init_panel (panel.c:226)
==22977==    by 0x414681: main (tint.c:1040)
==22977== 
==22977== 5,940,394 (193,720 direct, 5,746,674 indirect) bytes in 835 blocks 
are definitely lost in loss record 972 of 972
==22977==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==22977==    by 0x41C126: add_task (task.c:88)
==22977==    by 0x41E764: task_refresh_tasklist (taskbar.c:286)
==22977==    by 0x41351D: event_property_notify (tint.c:616)
==22977==    by 0x414C91: main (tint.c:1165)

Apparently new_tsk2 is never deallocated

Original comment by alexey.s...@gmail.com on 18 Jul 2012 at 6:19

GoogleCodeExporter commented 8 years ago
I don't see any leaks in the latest svn (with LeakSanitizer). Please reopen if 
this is still a problem.

Original comment by mrovi9...@gmail.com on 1 Feb 2015 at 11:26

GoogleCodeExporter commented 8 years ago
tint2 is still a memory hog. 19% of 8GB total memory in 1 week - that's too 
much.

Original comment by soenke.u...@googlemail.com on 17 Jul 2015 at 1:12