core icon indicating copy to clipboard operation
core copied to clipboard

Usage does not go over 2GB

Open mattman86 opened this issue 13 years ago • 7 comments

Expected behaviour

With more than 2GB of files stored, the usage indicator in the Personal section should have a value of more than 2GB.

Actual behaviour

With around 5GB of files stored, the usage indicates 2GB.

Steps to reproduce

  1. Upload more than 2GB of files
  2. Check the personal usage

Server configuration

Operating system: Windows Server 2012 R2 Preview

Web server: IIS8

Database: MySQL

PHP version: 5.3.27

ownCloud version: 5.0.11

Client configuration

Browser: IE11, Chrome, Firefox

Operating system: Windows 7, Windows 8.1

mattman86 avatar Sep 24 '13 16:09 mattman86

@mattman86 Is this a 32bit version of PHP or a 64bit version? Does this still happen for you with ownCloud 5.0.12?

bantu avatar Oct 14 '13 20:10 bantu

Generally speaking official 64bit builds for windows will be available with php 5.5 http://windows.php.net/download/

DeepDiver1975 avatar Oct 14 '13 22:10 DeepDiver1975

@ringmaster can you please try to reproduce this? What's your knowledge about 32/64bit php on windows? THX

DeepDiver1975 avatar Oct 14 '13 22:10 DeepDiver1975

@DeepDiver1975 I seem to have spotted some room for improvements for getting the filesize on 32bit. Doing some more research first.

bantu avatar Oct 14 '13 22:10 bantu

@bantu FYI: we already have some improvements in place: https://github.com/owncloud/core/blob/master/lib/private/files/storage/local.php#L85 https://github.com/owncloud/core/blob/master/lib/private/files/storage/local.php#L235

DeepDiver1975 avatar Oct 14 '13 22:10 DeepDiver1975

@DeepDiver1975 Yes, I noticed.

bantu avatar Oct 14 '13 22:10 bantu

For the record, that's both clever and nutty.

ringmaster avatar Oct 16 '13 20:10 ringmaster