Go Back   FlashFXP Forums > >

Project: FlashFXP Bug Reports Ticket Tools
ID: 90 Category: General / Unknown
Title: huge memory leak Status: Closed (Discarded)
Severity: Minor Version: 3.5.3 (3.6 RC 3)

Junior Member
wowuhao
12-12-2007, 09:57 PM
huge memory leak

when i download a file from a ftp. the speed suddenly down to 0kb/s

but the memory that flashfxp use increase very quickly. after a while the memory that ffxp use is about 200-300M . if i don't abort the transfer the memory would still increase

i restart the ffxp session but still get this situation form this ftp.

sorry for my poor english i'm not a native english speaker

the log of ffxp is here for security reason i hide some infomation

FlashFXP v3.5.3 build 1220 [3.6 RC3]
Support Forums at http://forum.flashfxp.com
Report a Bug at http://bugtracker.inicom.net

WinSock 2.0 -- OpenSSL 0.9.8g 19 Oct 2007
[L] 正在连接到 *** -> IP=*** PORT=59995
[L] 已连接到 ***
[L] 220 Gene6 FTP Server v3.8.0 (Build 34) ready...
[L] USER ***
[L] 331 Password required for ***.
[L] PASS (hidden)
[L] 230 User *** logged in.
[L] SYST
[L] 215 UNIX Type: L8
[L] FEAT
[L] 211-Extensions supported:
[L] AUTH TLS
[L] CCC
[L] CLNT
[L] CPSV
[L] EPRT
[L] EPSV
[L] MDTM
[L] MFCT
[L] MFMT
[L] MLST type*;size*;create;modify*;
[L] MODE Z
[L] PASV
[L] PBSZ
[L] PROT
[L] REST STREAM
[L] SIZE
[L] SSCN
[L] TVFS
[L] UTF8
[L] XCRC "filename" SP EP
[L] XMD5 "filename" SP EP
[L] XSHA1 "filename" SP EP
[L] 211 End.
[L] CLNT FlashFXP 3.5.3.1220
[L] 200 Noted.
[L] CWD /Upload/***
[L] 250 CWD command successful. "/Upload/***is current directory.
[L] PWD
[L] 257 "/Upload/***" is current directory.
[L] TYPE A
[L] 200 Type set to A.
[L] MODE Z
[L] 200 Mode Z ok.
[L] PASV
[L] 227 Entering Passive Mode (***,133,42,70)
[L] 正在打开数据连接 IP: *** 端口: 10822
[L] LIST -al
[L] 150 Data connection accepted from ***:2496; transfer starting.
[L] 226-Compression : 32.25% (169 Bytes/524 Bytes).
[L] 226 Transfer ok.
[L] 列表完成: 508 字节 用时 0.42 秒 (1.2 KB/s)
[L] TYPE I
[L] 200 Type set to I.
[L] PASV
[L] 227 Entering Passive Mode (***,19,234)
[L] 正在打开数据连接 IP: *** 端口: 5098
[L] REST 7221227
[L] 350 Restarting at 7221227. Send STORE or RETRIEVE.
[L] RETR kaka-tmm.mkv
[L] 150 Data connection accepted from ***:2497; transfer starting for /Upload/***.mkv (729015934 bytes)
软放弃
[L] ABOR
[L] 226 ABOR command successful.
[L] 426-Compression : 98.91% (152.066 MBytes/153.734 MBytes).
[L] 426 Retrieve aborted; ABORT requested by client
[L] 传输失败!
用户已放弃
FlashFXP Developer
bigstar
12-12-2007, 10:22 PM
Re: huge memory leak

This might sound a bit extreme, but what happens if you let the transfer continue?

Does it ever actually run out of memory, if so does FlashFXP start displaying the crash reporting dialog?

If you can get a crash report it should show us the exact code causing the leak and we might be able to instantly pin-point the problem..

Did you have this problem with any previous RC releases, or v3.4 ?

For the past 2 weeks I've been doing extensive memory and object leak detection and memory management tests. My tests haven't revealed any problems with FlashFXP, that's not to say your leak doesn't exist, however there might be something special about your setup or configuration that is triggering a leak. I will continue my tests for another week.
Junior Member
wowuhao
12-12-2007, 11:55 PM
Re: huge memory leak

thank you for your quickly reply bigstar.

yes,i got this sitution before. about 3-4 month ago, also download file from this ftp

because i rarely use this ftp, i didn't care about it.

i didn't remember the version of the ffxp. may be build 1145?

i test just now and found that when the speed down to 0kb/s, the network traffic is not down to 0. i can see it from BWMeter(a network monitor).

after a while the memory usage increase to 500M and flashfxp said transfer time out and retry to download

after a few time of normal download. the speed down to 0kb/s again. finally ffxp said transfer false

i restart the queue but the speed was still 0kb/s. the memory usage is down to 100M, virtual mem usage is about 700M . but the cpu usage of ffxp is 40-50%(cpu is dualcore).

then ffxp loop with transfer--> transfer time out-->tranfer false-->i restart queue

when start transfer the cpu usage is always 40-50% ,memory usage didn't increase again

there is no crash reporting dialog.

i met this problem just with two ftps. other ftps didn't have this problem
Junior Member
wowuhao
12-13-2007, 09:31 PM
Re: huge memory leak

hi bigstar

i test download from that ftp about 2 hours and found that if i disable mode z

the problem is disappared

i hope this information will help u to find the bug
FlashFXP Developer
bigstar
12-14-2007, 02:54 PM
Re: huge memory leak

Thank you for the updated information, I am currently trying to reproduce this behavior.
FlashFXP Developer
bigstar
12-15-2007, 01:44 PM
Re: huge memory leak

I just concluded a 10 hour long study of MODE Z in FlashFXP.

I was not able to detect any memory leaks or abnormal memory usage over the period of the transfer or multiple transfers.

This really has me puzzled.

I would highly recommend you validate your flashfxp.exe.

You can do this by browsing to your flashfxp program folder, right clicking on the flashxp.exe in windows explorer and selecting "properties" from the popup menu, then select the "digital signature" tab, followed by clicking the "details" button, and then the "view certificate" button, finally click the "certification path" tab, look at the certificate status at the bottom and it should say it's OK. if not please re-download FlashFXP directly from our website.

I did encounter one unusual behavior where I had created a queue of several partially incomplete transfers and then transferred them. Resuming the transfers in a couple instances resulted in a transfer timeout, which was unexpected. Due to the nature of the tests being performed I was unable to determine if the problem occurred on the client or server side. After many re-attempts to reproduce this "transfer timeout" I was unable to do so. It's quiet possible it was server related. Perhaps windows defrag ran or something of that nature.
Junior Member
wowuhao
12-16-2007, 11:56 PM
Re: huge memory leak

thank you bigstar.

My FlashFXP was downloaded from FFXP's LiveUPdate

I checked the FFXP's digital signature, it's OK.


Just now,I tried to run out of the memory. When the transfer is false, I hit the button disconnect. the FlashFXP show a error dialog, it is said that Out of memory while expanding memory stream. there was no other info about this error(the panel was empty when I hit the button show bug report).

I already submit bug report.
FlashFXP Developer
bigstar
12-22-2007, 04:37 PM
Re: huge memory leak

Please download this update and let me know if it solves the problem. Simply replace your flashfxp.exe with the one in the zip.

http://download.flashfxp.com/beta/ffxp3.5.3.1224.zip
Junior Member
wowuhao
01-31-2008, 12:00 AM
Re: huge memory leak

sorry for reply so late

that ftp was down for a month because of hardware problem

when it's back I will test it immediately
Ticket Tools
Subscribe to this Ticket


Posting Rules
You may not post new tickets

Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 05:44 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)