Usage does not go over 2GB
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
- Upload more than 2GB of files
- 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 Is this a 32bit version of PHP or a 64bit version? Does this still happen for you with ownCloud 5.0.12?
Generally speaking official 64bit builds for windows will be available with php 5.5 http://windows.php.net/download/
@ringmaster can you please try to reproduce this? What's your knowledge about 32/64bit php on windows? THX
@DeepDiver1975 I seem to have spotted some room for improvements for getting the filesize on 32bit. Doing some more research first.
@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 Yes, I noticed.
For the record, that's both clever and nutty.