Re: libvirt-php and xpath function from libxml2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14.10.2015 10:01, Vasiliy Tolstov wrote:
> Hi! I'm test under high load some libvirt-php xpath based function and
> big memory leak under each function call. I'm try to patch libvirt-php
> to free some values via xmlFree , but this is not solve leaks.
> Do we realy need this function? As i see when i'm use plain libvirt
> function and use returned xml with internal php functions that works
> with xml and xpath, i'm not get memory leaks.
> 
> So does we really need it?
> 

Hey,

are you trying the latest git HEAD? Because I resolved some mem leaks there.
Maybe the problem is, the value passed to caller is not unset()
(something like free() in php), or we are setting wrong reference
counters somewhere.

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]