Here's the results. Looks like it's leaking even with UDR.
I used Firebird-4.0.0.2496-1-x64-pdb. Only initialized security database.
Nothing else.
MemoryDemo plugin (https://snipboard.io/AmZ5I7.jpg):
Function `isLeapYear` from `udr_compat` (https://snipboard.io/yIDAMZ.jpg):
Either the [1] or [2
22.06.2021 17:15, Dimitry Sibiryakov wrote:
Hello All.
Can engine reuse an instance of ITracePlugin for different attachment or
services (interchangeable)?
No
Regards,
Vlad
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
Hello All.
Can engine reuse an instance of ITracePlugin for different attachment or services
(interchangeable)?
--
WBR, SD.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
22.06.2021 14:07, Jiří Činčura wrote:
Can I do that?
Just repeat your tests with some "legacy UDR" functions provided with vanilla Firebird
installation.
--
WBR, SD.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
> It must be first understand if this is really the problem.
Can I do that? Or can I help you in any way? I have a FB4 vanilla folder, the
compiled plugin and simple script. I can send it to you and you can play with
that, if you want.
> Your memory consumption graph was done in FB 3 or 4?
FB
On 22/06/2021 03:00, Jiří Činčura wrote:
>> I cannot say the same is done with the CRT you are using, so you may
>> have others memory leaks.
>
> Is this something I can test? And potentially do something about it? In real
> world other pieces might be using that. :(
>
It must be first underst
> UDR engine uses Firebird memory pool which is destroyed when the plugin
> is unloaded.
BTW what exactly you mean by unloaded? You mean IExternalEngineImpl::release
being called? Or something like FreeLibrary?
--
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/
Firebird-Devel mailing list,