Subject | Re: High memory usage |
---|---|
Author | rodrigogoncalves |
Post date | 2005-07-22T00:14:47Z |
Hi,
much of it is legacy code (badly use of IBX or even using BDE) so I'm
reviewing the code and changing it all to shorter transactions and
more use of clientDataSet components.
But I have the feeling that in the case of this server it may be some
problem between the Fedora Core 3 and Firebird, which leads to a
memory leak (looking at the memory status, I see that 400mb of memory
is used by applications and only a 100mb is being used by cache, so I
assume Firebird is using a lot of memory...). Sweeping manually the
database also brings the memory usage down by only a few megabytes.
I'm going to try a self-compiled Firebird and see if it gets better.
My only problem is stopping the server, since it's a 24x7 one... *sigh*
Anyway, tks for the answers
Regards
Rodrigo
> It could also be a read-committed, come to think of it. There's a waySo
> to reduce the impact of long-lived read-committed transactions that
> we're talking about on the devel list, but it's not in any code yet.
> any long-lived transaction except an explicitly read-onlyread-committed
> transaction could be the problem.Long-running transactions indeed is a problem with the software...
>
much of it is legacy code (badly use of IBX or even using BDE) so I'm
reviewing the code and changing it all to shorter transactions and
more use of clientDataSet components.
But I have the feeling that in the case of this server it may be some
problem between the Fedora Core 3 and Firebird, which leads to a
memory leak (looking at the memory status, I see that 400mb of memory
is used by applications and only a 100mb is being used by cache, so I
assume Firebird is using a lot of memory...). Sweeping manually the
database also brings the memory usage down by only a few megabytes.
I'm going to try a self-compiled Firebird and see if it gets better.
My only problem is stopping the server, since it's a 24x7 one... *sigh*
Anyway, tks for the answers
Regards
Rodrigo