I'm copying different files on different locations, some are over internet (on windows shares)
Red flag on the play! You're copying files over the internet using Windows shares? That's wrong in a so many ways - performance, security, sanity... Stop right now and pick a new tool - rsync, scp, HTTP and FTP all spring to mind. All have solid Windows implementations which should be fairly easy to get running concurrently.
-sam
| [reply] |
Security.. not really. It's a VPN connection. Performance? Yes. Sanity? I have to do this under this circumstances.
I don't control the firewall so I have to use a windows share. I'll try to port the tools to use ftp in the near by future but till then I still think perl does something wrong and leaks memory.
Please give me hints how to stop the memory leak and don't tell me that rsync is better because I know that. :) I found it a little bit strange that just by using win32 module ("use win32") perls leaks less memory by fork,copy,exit. Can you give me a direction on how to investigate this? I am new to perl and I have created just small scripts, nothing complicated or advanced
Best regards,
andrei
| [reply] |
| [reply] |