Windows desktop client does not download large files

Ask all your questions regarding OC 7.x Please read the Support Forum Rules
Forum rules
ownCloud 7.x will be end of life soon. See maintenance and release schedule for more details.

Time to upgrade!

Before you post; make sure you are using at least PHP Version 5.3.x - Also read Support Forum - Read this before posting
poweredge
Newbie
Posts: 3
Joined: Tue May 03, 2016 10:09 am
ownCloud version: 7.0.13
Webserver: Apache
Database: MySQL
OS: Windows Server
PHP version: 5.4.45

Windows desktop client does not download large files

Postby poweredge » Tue May 03, 2016 11:08 am

The win client uploads fine any kind of file on the server.
When the other clients try to download the large file (>80Megs), on the server side apache crashes with an apache error like this:

[Mon May 02 12:48:28.557784 2016] [:error] [pid 5208:tid 1104] [client xxx.xxx.xxx.xxx:58727] PHP Fatal error: Out of memory (allocated 75759616) (tried to allocate 73138176 bytes) in C:\\Apache24\\htdocs\\3rdparty\\sabre\\dav\\lib\\Sabre\\HTTP\\Response.php on line 164

PHP has 1G memory limit and 2G for post_max_size and upload_max_filesize

Download from webUI and android work fine.

Server configuration
Operating system: Windows 2008
Web server: Apache 2.4
Database: MySQL
PHP version: 5.4.45
ownCloud version (see ownCloud admin page): 7.0.13
Updated from an older ownCloud or fresh install: fresh

Thank you in advance for help.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Windows desktop client does not download large files

Postby RealRancor » Tue May 03, 2016 11:22 am

Hi,

the message:

Code: Select all

Out of memory (allocated 75759616) (tried to allocate 73138176 bytes)


is telling you that you have configured a memory limit of 75759616 bytes which are around 72MB. This is far below the absolute minimum of 128MB required for ownCloud.
*gone*

poweredge
Newbie
Posts: 3
Joined: Tue May 03, 2016 10:09 am
ownCloud version: 7.0.13
Webserver: Apache
Database: MySQL
OS: Windows Server
PHP version: 5.4.45

Re: Windows desktop client does not download large files

Postby poweredge » Tue May 03, 2016 12:06 pm

RealRancor wrote:Hi,

the message:

Code: Select all

Out of memory (allocated 75759616) (tried to allocate 73138176 bytes)


is telling you that you have configured a memory limit of 75759616 bytes which are around 72MB. This is far below the absolute minimum of 128MB required for ownCloud.


Good morning, thnx for the reply.
I have set the memory limit to 1G, in php.ini and .htaccess in owncloud folder.
Maybe is there any other setting to do?

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Windows desktop client does not download large files

Postby RealRancor » Tue May 03, 2016 12:46 pm

It probably needs to be configured in your main php.ini. You can have a look at the PHP manual for more info about that setting and how to configure it:

https://secure.php.net/manual/en/ini.co ... mory-limit
*gone*

poweredge
Newbie
Posts: 3
Joined: Tue May 03, 2016 10:09 am
ownCloud version: 7.0.13
Webserver: Apache
Database: MySQL
OS: Windows Server
PHP version: 5.4.45

Re: Windows desktop client does not download large files

Postby poweredge » Fri May 06, 2016 2:17 pm

Good news!

I've fixed the issue adding "OWNCLOUD_CHUNK_SIZE=1000000" in owncloud.cfg

Regards
G


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Community Edition 7.x”

Who is online

Users browsing this forum: No registered users and 3 guests