Subject | Re: [ib-support] Re: Memory Usage |
---|---|
Author | Ann Harrison |
Post date | 2002-03-28T17:33:24Z |
At 09:27 AM 3/28/2002 +0000, Ian Newby wrote:
Certainly others are running similar applications without
seeing this memory growth, so there's something else going
on.
Do you use prepared statements? Do you release them? Does
your application ever disconnect?
The number of page buffers - database pages that can be held in
cache - is fixed but lots of other things cause Firebird to allocate
heap memory. It's got a moderately sophisticated memory manager
so it should reuse memory that's been released... so I'm looking
for something that might be kept around inadvertently.
Regards,
Ann
>The database has been restarted and the memory usage is growingUgly. Is there any chance of running a debugging server?
>consistantly by about 20Meg per day.
Certainly others are running similar applications without
seeing this memory growth, so there's something else going
on.
Do you use prepared statements? Do you release them? Does
your application ever disconnect?
>I thought Firebird couldn't use more than the buffers * pagesize ofNo. Or rather, you may have thought that, but it's not the case.
>memory?
The number of page buffers - database pages that can be held in
cache - is fixed but lots of other things cause Firebird to allocate
heap memory. It's got a moderately sophisticated memory manager
so it should reuse memory that's been released... so I'm looking
for something that might be kept around inadvertently.
Regards,
Ann