Go Back   FlashFXP Forums > >

Project: FlashFXP Bug Reports Ticket Tools
ID: 393 Category: General / Unknown
Title: private memory leak? Status: Closed
Severity: Minor Version: N/A

Member
Infector
10-17-2010, 07:00 AM
private memory leak?

1.run ffxp
2.add ~ 6500 folder to queue
3.start trasfer to PC, minimize to tray
3.wait for morning and we see ffxp freeze (doesn't react to mouse to)



if we will watch to private memory usege it will allway grow
FlashFXP Developer
bigstar
10-17-2010, 07:14 AM
Re: private memory leak?

What specific build of RC2 are you using?
Member
Infector
10-17-2010, 08:04 AM
Re: private memory leak?

4.0.0 1488
w7 x64
Member
Infector
10-17-2010, 11:32 AM
Re: private memory leak?

ok i repeat this without minimaze to tray

after 2-3 hours of transfer i have

20:20:46] [R] Connecting to xxx -> IP=xxx PORT=xxx (attempt # 3)
[20:20:46] [R] Connection failed (10055: No buffer space available)


and empty queue window (but queue not empty), ffxp not responce after press X
FlashFXP Developer
bigstar
10-19-2010, 05:08 AM
Re: private memory leak?

  1. Are you uploading, downloading, or site to site?
  2. Are you using FTP, FTP SSL/TLS, or SFTP?
  3. If you are not using SFTP, are you using active mode or passive mode for data connections?
  4. Are you directly queuing ~ 6500 folders or are you queuing a couple folders that contain sub-folders and their combined amount is ~ 6500?
  5. How many total files do these ~ 6500 folders contain?
  6. Roughly how many files per folder?

I ran a profiling test which consists of ~ 500k files and ~ 20k folders with a combined size of ~ 300GB during this test I was unable to detect any abnormal memory usage.

I will continue to investigate this issue, can you please provide the information above.
Member
Infector
10-19-2010, 07:27 AM
Re: private memory leak?

1.uploading to local PC
2.SSL/TLS
3.passive mode
4.i directly queuing ~ 6500 from different folders
5.about 15000 files
6.from 3 to 10


today i get crash
Problem signature:
Problem Event Name: APPCRASH
Application Name: FlashFXP.exe
Application Version: 4.0.0.1488
Application Timestamp: 2a425e19
Fault Module Name: GDI32.dll
Fault Module Version: 6.1.7600.16385
Fault Module Timestamp: 4a5bdb38
Exception Code: c0000005
Exception Offset: 00015f57
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1049
Additional Information 1: 3af2
Additional Information 2: 3af2e6ce1118536f5ade66a95acee876
Additional Information 3: 3af2
Additional Information 4: 3af2e6ce1118536f5ade66a95acee876

i need check something
Member
Infector
10-19-2010, 02:19 PM
Re: private memory leak?

i found reason

i use replacement of the Windows text render (alternative gdi) - gdipp http://code.google.com/p/gdipp/

look like ffxp use a lot of private memory (huge work with gdi?) and when gdipp started ffxp have bigger private memory usage then usual (leak?)

i run ffxp without gdipp and after 8 hours of tranfer i have only 335mb of private memory used, with gdipp started ffxp stop work after 3-4 hours
FlashFXP Developer
bigstar
10-20-2010, 10:06 AM
Re: private memory leak?

It would appear that there might be a compatibility issue between FlashFXP and gdipp, FlashFXP does not contain any gdi resource leaks however the way fonts are allocated might be done in a way that causes gdipp to allocate them and keep them.

For example when drawing the list items the font is allocated for each draw, using something like process explorer you might be able to see how many are allocated, without gdipp this number is within the expected range.

It looks like you can exclude applications from using gdipp and this may be required for FlashFXP.

I will look into this more closely later on but right now this is not a high priority.
Member
Infector
10-25-2010, 02:27 PM
Re: private memory leak?

i run ffxp 72 hours with transfer (without gdipp) and get 1.3Gb private memory usage. i think if u run ffxp more i get out of memory but need test.
FlashFXP Developer
bigstar
10-25-2010, 02:53 PM
Re: private memory leak?

Was this test done with 1488 or 1489?

After FlashFXP has been running for awhile please do the following

From the main menu > Help
Hold down the Ctrl key
now click About menu entry

This will output application memory allocation, overhead and efficiency.

Allocated: 3.91 MB
Overhead: 1.96 MB
Efficiency: 66.6%

This shows the amount of memory allocated directly by FlashFXP, When you see the memory usage in Windows Explorer this is the combined memory of the program and all loaded DLLs and COM objects.

Updated to add Process Explorer info below

Using Process Explorer can give you a better understanding of what is allocating memory
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

From within Process Explorer
Select the FlashFXP.exe process
From the menu View > Show Lower Pane (make sure its checked)
then Menu View > Lower Pane View > DLL (make sure DLL is selected)

Right click on the column header of the lower pane and check all options (Specifically WS Total, WS Private, WS Sharable)

This will show you how much memory each DLL loaded into FlashFXP is using and allow us to pin point what DLL if any is using abnormally large amounts of memory.
Member
Infector
10-26-2010, 11:25 AM
Re: private memory leak?

1488. i don't have 1489. i will do more tests
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 11:56 AM.

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