<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://memecode.com/bugzilla/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://memecode.com/bugzilla/"
          maintainer="fret@memecode.com"
>

    <bug>
          <bug_id>173</bug_id>
          
          <creation_ts>2007-12-24 11:59</creation_ts>
          <short_desc>Scrolling through email folders leaks memory</short_desc>
          <delta_ts>2007-12-24 11:59:28</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>i.Scribe/InScribe</product>
          <component>User Interface</component>
          <version>v1.90 test1</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>NEW</bug_status>
          
          
          
          
          <priority>P1</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>josh@istedconsulting.com</reporter>
          <assigned_to>fret@memecode.com</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>josh@istedconsulting.com</who>
            <bug_when>2007-12-24 11:59:28</bug_when>
            <thetext>I found this while looking at Scribe memory usage in Task Manager. This manifests itself in v1.89 Test 22 as well.

I see that when an email folder is clicked on, everything in that folder is cached to memory to speed up subsequent access.

When I click on a folder for the first time, I see the memory usage go up, as would be expected. Then I can move the highlight up and down using the arrow keys, with the memory usage increasing each time a new folder is highlighted.

On my system, I end up with memory usage up around 215-220MB after I&apos;ve highlighted all folders.

The stats for the mailbox are:
Mail: 24175
Contacts: 88
Folders: 138
Size: 184.64MB

Mailbox has been recently compacted (2.52K would be saved by compacting)

That memory usage makes pretty good sense, since that&apos;s the size of all the email plus some memory for Scribe.

Here&apos;s where the fun starts. I use the arrow keys to scroll up and down the folder list. Moving from the top of the folder list, to the bottom and then back up to the top uses up approx. 6MB more memory. It will do this each time, without fail.

As I said, I am watching this in Task Manager, which is probably not the best debugging tool available, but it shows me that the total memory usage for Scribe increases by 6MB each time I scroll from top to bottom and back.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>