[Qt-interest] Memory usage in QXMLQuery
Aeon
aeon at kampfr.ru
Mon Feb 8 01:15:18 CET 2010
hi.
i'm trying to use QXmlQuery in my application, but have strange problem:
it seems that QXmlQuery allocate memory for every query but never
release it.
Fedora 12, Qt 4.5.3, 4.6.0
QXmlQuery query;
QString query_result;
foreach(QString tmp, filenames)
{
QFile file(tmp);
if (!file.open(QFile::ReadOnly))
{
qDebug() << "cant open file";
break;
}
query.bindVariable("inputDocument", &file);
query.setQuery(queryString);
if (query.isValid())
{
query.evaluateTo(&query_result);
}
}
i've found thread with similiar problem in archive (July 2008, "Memory
use in QXMLQuery in Qt4.4 under Windows")
one and a half years passed, Qt 4.5, 4.6... still no solution?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100208/f46af259/attachment.html
More information about the Qt-interest-old
mailing list