PHP Classes

Works very nicely, but it runs out of memory easily.

Recommend this page to a friend!

      Grep Simulator  >  All threads  >  Works very nicely, but it runs out...  >  (Un) Subscribe thread alerts  
Subject:Works very nicely, but it runs out...
Summary:Package rating comment
Messages:2
Author:Hung Su
Date:2011-06-03 04:19:32
Update:2011-06-03 06:05:28
 

Hung Su rated this package as follows:

Utility: Good
Consistency: Good
Examples: Good

  1. Works very nicely, but it runs out...   Reply   Report abuse  
Picture of Hung Su Hung Su - 2011-06-03 04:19:34
Works very nicely, but it runs out of memory easily. Wanted 250MB on one of my last runs and I don't know how to optimise it myself.

  2. Re: Works very nicely, but it runs out...   Reply   Report abuse  
Picture of Er. Rochak Chauhan Er. Rochak Chauhan - 2011-06-03 06:05:28 - In reply to message 1 from Hung Su
Hi,

Thanks for the appreciation. This class is just for educational use. If you want professional version, feel free to contact me.

BTW, I am storing all the files/folders in an array before searching. That is what coursing memory crash in case of large file structure. The simple fix is to read a file and scan at the same time. In case of success,display (echo/print) the result then and there without storing it in array/string.

Regards,
Rochak Chauhan