Subject | AW: [firebird-support] Memory usage excess / leak in FBServer 2.5.4 |
---|---|
Author | Jojakim Stahl |
Post date | 2015-05-29T11:45:35Z |
Hello Carlos,
Selecting mon$transactions multiple times shows every time different transactions. So no long running transaction active, but memory consumption is growing at a rate of ~30MB/hour.
--
Joja
Von: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com]
Gesendet: Freitag, 29. Mai 2015 13:35
An: 'Jojakim Stahl' joja.lists@... [firebird-support]
Betreff: Re: [firebird-support] Memory usage excess / leak in FBServer 2.5.4
Is there any chance that you are manipulating blobs variables inside procedures/triggers and the associated transaction is being left open?
Blob variable content (in memory) is static, meaning that each time you change the content of a blob variable, even a single byte change, Firebird will allocate new memory to store the whole blob content, so lots of memory can be consumed. The allocated memory is released only when the transaction commits.
[]s
Carlos H. Cantu
www.FireBase.com.br - www.firebirdnews.org
www.warmboot.com.br - blog.firebase.com.br
|