ID:               45218
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Closed
 Bug Type:         *General Issues
 Operating System: *
 PHP Version:      5.3CVS-2008-06-09 (snap)
 Assigned To:      cellog
 New Comment:

Great, that's now fixed. Thanks for the prompt response.

I'd like to use PHAR to create an uncompressed data archive of around
15,000 files (total size about 60MB), but I'm finding the time to create
the archive can be measured in hours, whereas creating a zip of the same
files takes less than 30 seconds. Though I appreciate that I may be
using PHAR for a purpose that it was not designed for, are there any
plans to improve performance for large amounts of files in the future?


Previous Comments:
------------------------------------------------------------------------

[2008-06-10 19:20:54] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.3-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.3-win32-installer-latest.msi



------------------------------------------------------------------------

[2008-06-09 16:35:53] [EMAIL PROTECTED]

Description:
------------
When building a PHAR archive using the methods buildFromDirectory() or
buildFromIterator(), a temporary file is opened for each file to be
added to the archive. These temporary files remain open until the last
stages of the archive creation (to prevent the files from being
deleted), meaning that the number of files that can be added to the
archive is limited by the maximum number of file handles that can be
open at any one time (often 2048).



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45218&edit=1

Reply via email to