Subject Re: UDF or UDF calling process of Firebird may cause memory leaking
Author wenbin.pan
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@...> wrote:
>
>
>
> >> You are not releasing memory after your calls to the string
> >function. Tell us
> >>
> >> 1. where you obtained this UDF (if you wrote it yourself, show the
> >code)
>
> At 11:12 AM 30/11/2007, you wrote:
>
>
> >I am using the FreeAdhocUDF which can be downloaded from
> >http://www.udf.adhoc-data.de/index_eng.html
> >
> >We've tested the latest version. We found that after UDF calls, the
> >memory was not released until the connection to database is closed.
>
> >
> > 2. what your declaration of the UDF looks like.
> >
>
> You didn't answer this question and it is IMPORTANT.
>
> ./heLen
>

DECLARE EXTERNAL FUNCTION F_STRINGLENGTH
CSTRING(254)
RETURNS INTEGER FREE_IT
ENTRY_POINT 'stringlength' MODULE_NAME 'FreeAdhocUDF';