So, does it keep all the message information that it retrieves from the database in memory?

I notice that the Memory usage increases as more messages are retrieved.

Data retrieved       Memory usage
33 headers             266k
+10 msg dody        444k
+20 msg body        507k
+30 msg doby        452k

If it does keep the message information in memory, why does it need to do that?

Thanks.
Gopal


From: "Aaron Stone" <[EMAIL PROTECTED]>
Reply-To: DBMAIL Developers Mailinglist <dbmail-dev@dbmail.org>
To: "DBMAIL Developers Mailinglist" <dbmail-dev@dbmail.org>
Subject: Re: [Dbmail-dev] DBMail cache
Date: Fri, 10 Jun 2005 01:19:21 -0000

On Thu, Jun 9, 2005, ""gopalakrishnan kamalanathan""
<[EMAIL PROTECTED]> said:

> Hi,
>
> Do DBMail cache all the message headers that are retrieved by the clients.

The client caches data it receives. Presumably it asks for a lot less
information from DBMail in subsequent requests and so DBMail ends up
fetching less into memory.

I'm not sure if the dramatically lower memory usage is from memory
management in DBMail, or from caching in the database libraries or... I
dunno!

Aaron
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev


Reply via email to