Re: file not found
Jan Schneider <[email protected]> Tue, 19 Mar 2013 12:00:17 +0100
| Newsgroups | gmane.comp.horde.gollem |
|---|---|
| Message-ID | <[email protected]> |
Zitat von Jānis <[email protected]>: > Citēts Jan Schneider <[email protected]> > Mon, 18 Mar 2013 14:36:47 +0100: > >> Zitat von Jānis <[email protected]>: >> >>> Hi! >>> >>> I met a problem with gollem's ability to ensure file download from >>> server - I use ssh2 backend and browsing files works well, but if >>> i try to download any file (i tried files larger than 20 MB) i get >>> error message "file not found" and message in error log: >>> >>> [Sun Mar 17 22:19:43.044589 2013] [:error] [pid 1724:tid >>> 140138499778304] [client IP:38047] PHP Fatal error >>> : Allowed memory size of 67108864 bytes exhausted (tried to >>> allocate 24422666 bytes) in Unknown on line 0, referer: >>> https://server/gollem/ >>> >>> does it need to preload file into memory for download? >> >> No, it reads the file in 8KB chunks directly from the ssh stream. > > so, what then causes the mentioned behaviour? The root of a problem > lies with the size of the file, but if gollem works as you write, > what tries to allocate the memory and for what purpose? > > Janis No idea, and the error message doesn't provide a code location either. Which indicates that this might happen in a shutdown function or an object destructor. -- Jan Schneider The Horde Project http://www.horde.org/ -- gollem mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]