Friday, July 4th 2008, 10:44pm UTC+1

You are not logged in.

  • Login
  • Register

1

Wednesday, May 14th 2008, 2:29pm

Memory Leak in QFtp::list()

If I take a look to the task-manager under XP the memory usage of my program is growing continual. I discovered that the QFtp::list()-command is responsible for this growing.
I execute the list-command every 2 seconds and the programm's memory is growing by 82kb per list.
I set a break-point in a function connected to commandStartet() and commandFinished(). It happens exactly between both signals.
The listInfo()-Signal is not connected to any slot and nothing happens in the meantime

Is that a known/unknown bug or standard behaviour?
Can anybody reproduce this problem?

I use QT v4.3.4.
  • Go to the top of the page

2

Wednesday, May 14th 2008, 3:50pm

hmm, the list()-command is behaving normal in my little test-program. seems to be that it has something to do with the outer context...
  • Go to the top of the page

3

Wednesday, May 14th 2008, 3:58pm

RE: Memory Leak in QFtp::list()

no problem for me
Linux
Qt 4.3.0
Nicolas
  • Go to the top of the page

4

Thursday, May 15th 2008, 8:26am

I found the difference between my program and the test-program. it is the TransferMode. On passive no problem at all. But if active the described problem occurs.
So please try it again with ftp->setTransferMode(QFtp::Active);

This post has been edited 2 times, last edit by "sTormtrOOpa" (May 15th 2008, 8:28am)

  • Go to the top of the page

Rate this thread