Memory Leak? (General questions)

by e_lee @, (5805 days ago)

Hi,

I'm trying to track a memory leak problem in my app that can perform the following steps several times:

get_State()
put_Compression(9)
put_LicenseKey()
put_Blocking()
put_Hostname()
put_Login()
put_Password()
Connect()
PutFile()
Disconnect()

The instance of wodSFTP is created once and released when my app shuts down.

I notice that after passing the necessary information to the properties and calling Connect(), my app jumps up in memory usage. Once it finishes calling PutFile() and Disconnect(), the memory usage stays the same till the next time it performs the same steps. The memory slowly increases without dropping. I hoped that calling Disconnect() will lower the memory usage but it doesn't or very little.

I used the UMDH tool from Microsoft to help determine the location of the leak. The results point to the call to Connect().

I'm trying to determine if it's something in my app that could be also causing the problem. But if anyone notices this problem on their side, it would be nice to know.

Thanks.

Ed

locked

Re: Memory Leak?

by wodDamir @, (5805 days ago) @ e_lee

Hi Ed,

Can you perhaps provide us more details?

What component exactly are you using?

What version are you using? Can you please make sure that you use the latest version available?

How do you check memory use?

Regards,
Damba

locked

Re: Memory Leak?

by e_lee @, (5805 days ago) @ wodDamir

Hi,

I'm working with wodSFTP.dll 3.2.4.76. My app does several file transfers before stopping for a couple minutes and then resumes again with other files to transfer.

The Microsoft tool used to help find memory leaks can be found in

http://support.microsoft.com/kb/268343

It basically takes a snapshot of the app before the memory leak occurs and one after with the memory leak. It compares both snapshots and outputs the function calls that created memory without having them released.

locked

Re: Memory Leak?

by wodDamir @, (5805 days ago) @ e_lee

Ed,

I see that you are using an old version of the component. Can you please try out with the latest one?

Does the same occur with it?

Regards,
Damba

locked

Re: Memory Leak?

by e_lee @, (5805 days ago) @ wodDamir

Hi,

Can you tell me how I can get a updated licensed version? Thanks.

Ed

locked

Re: Memory Leak?

by wodDamir @, (5804 days ago) @ e_lee

Ed,

Are you our licensed user?

If so, you can request update from the following page:

http://www.weonlydo.com/index.asp?update=1

Just make sure that you provide the e-mail registered with us when you purchased the component when requesting update, since this is automated process.

If you are trial user, you can simply download it from our website.

Regards,
Damba

locked

Re: Memory Leak?

by e_lee @, (5804 days ago) @ wodDamir

I'm a licensed user. Unfortunately, my company got bought over and changed our email addresses so the email address in your system is outdated. How can we change it so that the automated service sends it to the updated email address?

locked

Re: Memory Leak?

by wodDamir @, (5804 days ago) @ e_lee

Ed,

Please contact us on techsupport@weonlydo.com and we can change the registered e-mail in our database.

Just please provide us e-mail that the component was purchased under.

Regards,
Damba

locked

Re: Memory Leak?

by e_lee @, (5800 days ago) @ wodDamir

Hi,

I installed the latest version and I'm currently getting errors linking with atlcom.h. When I put back my original version, my project compiles fine.

Have you heard of this before?

Ed

locked

Re: Memory Leak?

by woddrazen @, (5800 days ago) @ e_lee

Ed,


Can you maybe tell us which error did you receive?


Drazen

locked

Re: Memory Leak?

by e_lee @, (5800 days ago) @ woddrazen

Hi,

I realized that a new method has been introduced (ExtendedCmd) which wasn't in my project. It works fine now.

Sorry for the confusion. I'll start testing and let you know my findings.

Thanks!

Ed

locked

Re: Memory Leak?

by e_lee @, (5798 days ago) @ e_lee

Hi,

I would like to send you a simple code I wrote up which keeps track of the memory usage in a logging file because I want to know your opinion on the memory usage it's using.

Thanks.

Ed

locked

Re: Memory Leak?

by woddrazen @, (5798 days ago) @ e_lee

Ed,


You can zip and send us sample to:

techsupport@weonlydo.com


Drazen

locked