Another Hint,
i am pretty sure that it is in "copyFetchBuffer"
se realloc
Add the function:
static void* tracingRealloc (void * ptr,int len)
{
void* x=realloc(ptr,len);
printf("####realloc: 0x%p -> 0x%p\n", ptr,x);
return x;
}
and the macro:
#define realloc(ptr,len) tracingRealloc(ptr,len)
and comment out the existing macros:
#define malloc(len) tracingMalloc(len)
#define free(ptr) tracingFree(ptr)
and you will see that the memory got with realloc
will never be freed....
(thats what it looks like for me....)
copyFetchBuffer
On Thu, 11 Mar 2004 20:11:40 +0100
Andre Reitz <[EMAIL PROTECTED]> wrote:
> On Thu, 11 Mar 2004 19:17:58 +0100
> "Dittmar, Daniel" <[EMAIL PROTECTED]> wrote:
>
> > > In which files of sapdb-743 are the current sources of
> > > the python driver located?
> >
> > sys/src/in/vin77.c.
> >
> > The interesting routines would be next_SapDB_ResultSet and getOutputParameter2.
> >
> > Daniel Dittmar
> >
> > --
> > Daniel Dittmar
> > SAP Labs Berlin
> > [EMAIL PROTECTED]
> >
> > --
> > MaxDB Discussion Mailing List
> > For list archives: http://lists.mysql.com/maxdb
> > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
> >
> if I return immediately in getOutputParameter2:
>
> static void
> getOutputParameter2 (
> tin01_sql_session * session,
> byte_t * dataBuf,
> ParseInfoT * parseInfo,
> SQLResultT * result)
> {
> return;
>
>
> The memoryleak is still there,
> so perhaps the problem is not in getOutputParameter2.... (?)
>
> Hint: perhaps it could be an SL_fromNone, which does never get
> decref'ed ?
>
> Andre'
>
> --
> __________________________________________________________________________
>
> Als Technologieunternehmen konzipieren und entwickeln wir ma�geschneiderte Feedback-
> und
> Monitoring-Systeme - wie beispielsweise L�sungen f�r Beschwerde- und Ideenmanagement.
> Mit dem Inquery� Survey Server bieten wir eine der leistungsf�higsten
> Standardl�sungen f�r
> Online-Umfragen mit dem Schwerpunkt auf der Messung von Kundenzufriedenheit an.
> __________________________________________________________________________
>
>
> Inworks GmbH
> Andre Reitz, Leiter Entwicklung
> H�rvelsinger Weg 39, 89081 Ulm, Germany
> Tel +49 (0) 731 / 93807-21
> Fax +49(0)731/93807-18
> Internet: http://www.inworks.de
>
>
>
> --
> MaxDB Discussion Mailing List
> For list archives: http://lists.mysql.com/maxdb
> To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
>
--
__________________________________________________________________________
Als Technologieunternehmen konzipieren und entwickeln wir ma�geschneiderte Feedback-
und
Monitoring-Systeme - wie beispielsweise L�sungen f�r Beschwerde- und Ideenmanagement.
Mit dem Inquery� Survey Server bieten wir eine der leistungsf�higsten Standardl�sungen
f�r
Online-Umfragen mit dem Schwerpunkt auf der Messung von Kundenzufriedenheit an.
__________________________________________________________________________
Inworks GmbH
Andre Reitz, Leiter Entwicklung
H�rvelsinger Weg 39, 89081 Ulm, Germany
Tel +49 (0) 731 / 93807-21
Fax +49(0)731/93807-18
Internet: http://www.inworks.de
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]