Could not allocate memory to open file?

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
loftersyd
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?

#1 Post by loftersyd » 2021-01-08 22:07

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? :cry:

loftersyd
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?

#2 Post by loftersyd » 2021-01-08 23:14

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

schraubinger
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?

#3 Post by schraubinger » 2021-01-31 17:51

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

User avatar
botg
Site Admin
Posts: 33419
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Could not allocate memory to open file?

#4 Post by botg » 2021-02-01 09:14

How much memory does your computer have? Is the page file enabled?

schraubinger
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?

#5 Post by schraubinger » 2021-02-01 12:37

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.

User avatar
botg
Site Admin
Posts: 33419
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Could not allocate memory to open file?

#6 Post by botg » 2021-02-01 14:46

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?

schraubinger
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?

#7 Post by schraubinger » 2021-02-01 16:33

So it doesn't happen immediately after starting FileZilla, but only after 10k files transferred?
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.
Does it work again for a while when closing and restarting FileZilla, or is a reboot needed?
It does not matter whether a restart is performed. As I said, this problem occurs on three different computers.

User avatar
botg
Site Admin
Posts: 33419
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Could not allocate memory to open file?

#8 Post by botg » 2021-02-02 11:44

I've fixed a handle leak in the download path for SFTP. Could you please try the latest nightly build?

schraubinger
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?

#9 Post by schraubinger » 2021-02-02 20:36

Very good! This error no longer occurs (for me)! Thank you very much for the quick solution!

Post Reply