Querying expense and weak hashtables
- From: Daniel Drake <dsd gentoo org>
- To: dashboard-hackers gnome org
- Subject: Querying expense and weak hashtables
- Date: Tue, 15 Nov 2005 23:51:38 +0000
Before I forget about this...
I've noted in the past that querying a lot is one way to bump up beagled's
memory usage fairly easily.
There's a discussion going on at the dotLucene forums about a fairly serious
memory problem in Lucene's field caching:
http://sourceforge.net/forum/forum.php?thread_id=1378460&forum_id=408004
The java Lucene uses a WeakHashMap:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/WeakHashMap.html
There isn't a direct equivalent in C# so a Hashtable is used, which doesn't
have the same characteristics.
This is worth keeping an eye on...
Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]