bugmldonkey, a multi-networks file-sharing client - Bugs: bug #14061, Search results are never removed...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #14061: Search results are never removed from memory

Submitter:  spiralvoice <spiralvoice>
Submitted:  Sun 07 Aug 2005 08:35:59 PM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Program malfunction Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  2.7.7 Release: 
Operating System:  None Binaries Origin:  CVS / Self compiled
CPU type:  None

Wed 08 Nov 2006 10:47:30 PM UTC, comment #1: 

mem_stats, commonSearch - Memorized items
is now reset when searches are forgotten, bug does not exist anymore.

spiralvoice <spiralvoice>
Group administrator
Sun 07 Aug 2005 08:35:59 PM UTC, original submission:  

There is commonSearch.search_forget but this has no effect on
commonResult module. There are three hashtabled used:

let (results_by_uid : (uid_type, result) Hashtbl.t) = Hashtbl.create 1027
let (known_uids : (uid_type, int) Hashtbl.t) = Hashtbl.create 1027
let results_by_num = Hashtbl.create 1027

Looking at mem_stats there is proof these tables are never cleared.
The search should be removed when user requests forgetting a search,
also there should be an automatic cleaning controlled by an option:

search_forget_interval (in minutes) - default 360

spiralvoice <spiralvoice>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-11-08 spiralvoice StatusNone Fixed
    Open/ClosedOpen Closed
2006-06-23 spiralvoice Release2.6.0 2.7.7

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code