On Thu, 2005-06-09 at 18:32 -0700, gopalakrishnan kamalanathan wrote:
> 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.

How do you notice this? The chart you provided doesn't demonstrate this!

> 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?

What says that it _is_ keeping the message information in memory?

How exactly are you measuring memory size? How do you know it isn't the
client-libraries for your database engine performing connection caching?
How do you know it isn't the zlib library used to decompress MySQL and
PostGresql's result sets?

Is this real memory usage? If it is, how do you know it isn't the
operating system aggressively paging packages in and out of memory.

Is this the BRK size of the process? If it is, why is it decreasing at
all? What operating system are you using?

What client libraries and server versions/names are you using for
database engine?

What IMAP clients are you using? Are you only testing this with Outlook
Express?


Are you actually experiencing a problem we can help with?

You must understand that listing answers all of these things- things
that only you know right now, are FAR more important than handmade chart
that shows a 60k wobble when downloading message bodies.


-- 
Internet Connection High Quality Web Hosting
http://www.internetconnection.net/

Reply via email to