The following bug has been logged online: Bug reference: 2260 Logged by: Daniel Blaisdell Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1.2 Operating system: Gentoo Linux K:2.6.9 Description: PGCrypto Memory Problem Details:
Prereq: PGCrypto Table Setup: employeeid integer salt text md5password text Problem Query: select * from table where md5password = crypt('password',salt) The first time this query is run, I see the postgres process bump up to 8MB of ram from where it initializes. On subsequent issues of the same query the postgres's process memory footprint grows each time. Initial Memory Usage (from Top) 13463 postgres 17 0 17556 4716 15m S 0.0 0.5 0:00.00 postgres: postgres fh_dev [local] idle Initial RSS: 4716 After 1st Query Run: 13570 postgres 16 0 91120 78m 15m S 0.0 8.8 0:01.22 postgres: postgres fh_dev [local] idle RSS: 78M After 2nd Query Run: 13570 postgres 16 0 160m 149m 15m S 0.0 17.0 0:02.60 postgres: postgres fh_dev [local] idle RSS: 149M After 3rd Query Run: 13570 postgres 16 0 232m 221m 15m S 30.9 25.1 0:03.83 postgres: postgres fh_dev [local] idle RSS: 232M 4th Query Run: RSS: 293M And so on and so forth until all swap space is eaten up. Hope someone knows what's going on here, i'd love to be able to use the pgcrypto contribs in production. -Daniel ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly