URL:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14061>
Summary: Search results are never removed from memory
Project: mldonkey, a multi-networks file-sharing client
Submitted by: spiralvoice
Submitted on: Son 07.08.2005 um 20:35
Category: Core
Severity: 3 - Normal
Item Group: Program malfunction
Status: None
Assigned to: None
Open/Closed: Open
Release: 2.6.0
Release:
Platform Version: None
Binaries Origin: CVS / Self compiled
CPU type: None
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14061>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
_______________________________________________
Mldonkey-bugs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-bugs