The memory leak is in DBI.pm at the fetchall_hashref line 3:
                my $names_hash = $sth->FETCH("${hash_key_name}_hash");

Someone, know where I can found the code for this FETCH method ? Is it
depending of the used database ?
Someone  can help me ??
rgds,

David
-----Original Message-----
From: Guillaume, David [CTF:8D60:EXCH] 
Sent: jeudi 3 juillet 2003 12:28
To: '[EMAIL PROTECTED]'
Subject: Memory leak in selectall_hashref suspected....


Hi all,

I'm working in a project with perl and postgres database on a SUN server. We
work with the DBI v1.37 and we have a memory leak problem when we use the
selecall_hashref method.
 
When I replace this method a while loop which return the same result (an
hash ref with result query), I have not this memory leak. So I quite sure
the problem is in this method, but I can't found really where.
 
Have you got any information about this ? I'm trying to investigate more in
the lib.
 
Rgds,
 
David

Reply via email to