Ding dong the leak is dead (The wicked leak, the wicked leak... though it's evil sister the database error is still threatening Dorothy...)

Well, it takes approximately 6 hours, but it does eventually reach a steady state for memory consumption. While waiting for it to stabilize I implemented the device-hierarchy. Unfortunately, I'm now seeing hard-hangs every once in a while on my machine (looks like yet another database-driven problem, as it's occurring just after the hierarchy import completes (close to the place the evil bug shows up on FreeBSD)).

All tolled, we're running around 600MB to scan 1500 modems, but there's a fairly large initial constant (around 200MB) to that, so I'm guessing that with a 2GB machine we can hold around 8000 modems in memory. There are likely ways I can reduce that, I've not spent any cycles on memory optimisation at all.

Anyway, time for the project is well and truly exhausted, and so am I, so I'm calling it a night and a wrap for the development effort. Haven't updated the server to run the new code (i.e. with the device hierarchy), as I want to make sure we remain steady-state on the memory usage... will do the update tomorrow.


  1. Natasha

    Natasha on 10/13/2004 10:52 a.m. #

    All told! (http://dictionary.reference.com/search?q=all%20told)<br />
    <br />
    But 'all tolled' was plausible enough that I had to look it up. =)

  2. Mike Fletcher

    Mike Fletcher on 10/13/2004 12:49 p.m. #

    And here I explicitly changed it from 'all told' because that looks wrong. Ooh, look, it's her first comment on the blog and it's about word usage ;) .

Comments are closed.


Pingbacks are closed.