Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 1998 14:50:14 -0400
From:      Steven Yang <syang@DIRHIT.COM>
To:        "'freebsd-database@FreeBSD.org'" <freebsd-database@FreeBSD.ORG>
Subject:   OK, I think I fixed my own gdbm problem!
Message-ID:  <839A86AB6CE4D111A52200104B938D435B4E@MOE>

next in thread | raw e-mail | index | archive | help
Hi, I think the culprit of my malloc error was the regularity of my test
keys.  I think the default gdbm hash function
generated lots of hash collisions with my test queries, which I guess
sucked up lots of RAM.  I created random keys
based on floating point values, and now I can generate larger files.
Well, if you have any words of wisdom, I still welcome any help you can
offer for things like optimizing for READ-ONLY databases!

Steven Yang

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-database" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?839A86AB6CE4D111A52200104B938D435B4E>