Ticket #104 (closed defect: wontfix)

Opened 22 months ago

Last modified 7 days ago

Nicotine Memory Leak With File Browse

Reported by: marx2k@… Owned by: daelstorm
Priority: critical Milestone:
Component: nicotine Version: SVN (checked out today)
Keywords: memory leak Cc:

Description

This is nicotine+ 1.2.7pre1 (SVN Rev 170) just started on Ubuntu Edgy:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

19882 marx2k 15 0 138m 64m 11m S 0.0 6.4 0:14.06 python

This is nicotine+ after I browse a few user's large file lists:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

19882 marx2k 15 0 156m 74m 11m S 2.0 7.4 0:31.65 python

And a few more:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

19882 marx2k 16 0 243m 160m 11m R 94.8 15.9 1:00.76 python

After I close the user-file windows, the memory never comes back down. It stays at this level or grows when I view more users' files. The only way to flush this is to restart the program.

This behavior is also shown when I join/leave rooms or really any action where I am downloading new information from the server.

Attachments

Change History

Changed 22 months ago by marx2k@…

I have tried also to recompile PyGTK 2.10.3 to ensure threading. I have also tried using the latest SVN build of Psyco. Both have not helped with the problem.

Hitting reload while viewing a userlist causes the same issue. Reconnecting to the server causes the same issue.

Basically, it seems any time that data is imported into the program from the server, memory grows as expected but does not release when expected (user browsing window is closed, for example)

Changed 22 months ago by marx2k@…

It also seems that memory grows and doesn't release even when a user's file list is refreshed, when Nicotine opens up a directory on a disk to load things from... basically any action that would have the memory footprint grow and then release is a problem since it does not get released on my install, so it grows and grows.

Changed 13 months ago by gandalf

Hi,

Nicotine is pure python code, so we don't care about memory allocation and free. Then, it's not nicotine that leak, but probably gtk, or the python interpreter.

Regards, Adam.

Changed 7 days ago by offhand

  • status changed from new to closed
  • resolution set to wontfix

last reply was 13 months ago. please file a new ticket if the problem still occurs.

Add/Change #104 (Nicotine Memory Leak With File Browse)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.