mldonkey-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] [bug #14061] Search results are never removed from memor


From: spiralvoice
Subject: [Mldonkey-bugs] [bug #14061] Search results are never removed from memory
Date: Sun, 7 Aug 2005 20:36:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050805 Firefox/1.0.6

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]