Could not allocate memory to open file?
Moderator: Project members
-
- 500 Command not understood
- Posts: 2
- Joined: 2021-01-08 21:24
- First name: Luiz
- Last name: OFT
Could not allocate memory to open file?
FZ 5.53.0.3
MacOS Big Sur
When i try to upload a file to my ec2 server:
Command: put "/Users/luiz/Sites/prolucroweb/application/controllers/Tabelas.php" "Tabelas.php"
Error: Could not allocate memory to open '/Users/luiz/Sites/prolucroweb/application/controllers/Tabelas.php' for reading.
Error: local: unable to open /Users/luiz/Sites/prolucroweb/application/controllers/Tabelas.php
Error: File transfer failed
Any type of file. No success.
There's available space (and memory) on my mac, server etc. What can i do?
MacOS Big Sur
When i try to upload a file to my ec2 server:
Command: put "/Users/luiz/Sites/prolucroweb/application/controllers/Tabelas.php" "Tabelas.php"
Error: Could not allocate memory to open '/Users/luiz/Sites/prolucroweb/application/controllers/Tabelas.php' for reading.
Error: local: unable to open /Users/luiz/Sites/prolucroweb/application/controllers/Tabelas.php
Error: File transfer failed
Any type of file. No success.
There's available space (and memory) on my mac, server etc. What can i do?
-
- 500 Command not understood
- Posts: 2
- Joined: 2021-01-08 21:24
- First name: Luiz
- Last name: OFT
Re: Could not allocate memory to open file?
like a miracle, memory leak solved with the TODAY lastest release:
3.52.0.5 (2021-01-08)
- FTP: Fixed crash if downloading ASCII files with stray carriage returns
- Fixed too strict requirements for preallocation
- *nix: Fixed a memory leak
3.52.0.5 (2021-01-08)
- FTP: Fixed crash if downloading ASCII files with stray carriage returns
- Fixed too strict requirements for preallocation
- *nix: Fixed a memory leak
-
- 500 Command not understood
- Posts: 4
- Joined: 2021-01-31 17:37
- First name: Hubert
- Last name: Schraubinger
Re: Could not allocate memory to open file?
Unfortunately, it doesn't work with version 3.52.2 either.
2021-01-31 09:44:56 18528 2 Status: Starte Download von /srv/www/share.xxxxx.info/htdocs/nephthys/.git/objects/84/741d300eb3a6432d8ddbb106fd7806b256d098
2021-01-31 09:44:56 18528 2 Befehl: get "741d300eb3a6432d8ddbb106fd7806b256d098" "I:\Backup EBFÖ\share.xxxxx.info\htdocs\nephthys\.git\objects\84\741d300eb3a6432d8ddbb106fd7806b256d098"
2021-01-31 09:44:57 18528 2 Fehler: Could not allocate memory to open 'I:\Backup EBFÖ\share.xxxxx.info\htdocs\nephthys\.git\objects\84\741d300eb3a6432d8ddbb106fd7806b256d098' for writing.
2021-01-31 09:44:57 18528 2 Fehler: local: unable to open I:\Backup EBFÖ\share.xxxxx.info\htdocs\nephthys\.git\objects\84\741d300eb3a6432d8ddbb106fd7806b256d098
2021-01-31 09:44:56 18528 2 Status: Starte Download von /srv/www/share.xxxxx.info/htdocs/nephthys/.git/objects/84/741d300eb3a6432d8ddbb106fd7806b256d098
2021-01-31 09:44:56 18528 2 Befehl: get "741d300eb3a6432d8ddbb106fd7806b256d098" "I:\Backup EBFÖ\share.xxxxx.info\htdocs\nephthys\.git\objects\84\741d300eb3a6432d8ddbb106fd7806b256d098"
2021-01-31 09:44:57 18528 2 Fehler: Could not allocate memory to open 'I:\Backup EBFÖ\share.xxxxx.info\htdocs\nephthys\.git\objects\84\741d300eb3a6432d8ddbb106fd7806b256d098' for writing.
2021-01-31 09:44:57 18528 2 Fehler: local: unable to open I:\Backup EBFÖ\share.xxxxx.info\htdocs\nephthys\.git\objects\84\741d300eb3a6432d8ddbb106fd7806b256d098
Re: Could not allocate memory to open file?
How much memory does your computer have? Is the page file enabled?
-
- 500 Command not understood
- Posts: 4
- Joined: 2021-01-31 17:37
- First name: Hubert
- Last name: Schraubinger
Re: Could not allocate memory to open file?
The computer has 8GB of memory. Page file is switched on, automatically ... Tested on three different computers (16 and 32GB), the same problem everywhere. For a server backup with approximately 320,000 files, this error occurs with 10,000 files. These problems did not exist in older versions.
Re: Could not allocate memory to open file?
So it doesn't happen immediately after starting FileZilla, but only after 10k files transferred?
Does it work again for a while when closing and restarting FileZilla, or is a reboot needed?
Does it work again for a while when closing and restarting FileZilla, or is a reboot needed?
-
- 500 Command not understood
- Posts: 4
- Joined: 2021-01-31 17:37
- First name: Hubert
- Last name: Schraubinger
Re: Could not allocate memory to open file?
I put myself in a misleading way: These approximately 10,000 errors occur within the transmission of all 230,000 files. However, the files are never the same, they are always different.So it doesn't happen immediately after starting FileZilla, but only after 10k files transferred?
It does not matter whether a restart is performed. As I said, this problem occurs on three different computers.Does it work again for a while when closing and restarting FileZilla, or is a reboot needed?
Re: Could not allocate memory to open file?
I've fixed a handle leak in the download path for SFTP. Could you please try the latest nightly build?
-
- 500 Command not understood
- Posts: 4
- Joined: 2021-01-31 17:37
- First name: Hubert
- Last name: Schraubinger
Re: Could not allocate memory to open file?
Very good! This error no longer occurs (for me)! Thank you very much for the quick solution!