Menu

#81 Larger Files

Fixed
nobody
None
Medium
Defect
2014-08-28
2014-07-09
Anonymous
No

Originally created by: mithesh....@clariontechnologies.co.in

The files that are larger give error -> Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\PHP_checkstyle\src\Tokenizer.php on line 620.

I was trying it with file having size around 200kb.

Is there any dynamic solution to this, say like if file size is 400kb then execution time should be increased and if file size is small then its should decrease the execution time.

Discussion

  • Anonymous

    Anonymous - 2014-07-09

    Originally posted by: mithesh....@clariontechnologies.co.in

    Can you please help me on this, have done lots of R&D also changed the max_execution_time to 5000 secs, but still its not working.

     
  • Anonymous

    Anonymous - 2014-07-09

    Originally posted by: tch...@hotmail.com

    I have noted that performances have degraded lately and opened an issue : https://code.google.com/p/phpcheckstyle/issues/detail?id=80

    But 5000 secs seems very very long. Are you sure you are not falling in an infinite loop because of a special case ?  You can activate the "--debug" and see if you are always on the same lines.

     

    Related

    Tickets: #80

  • Anonymous

    Anonymous - 2014-07-09

    Originally posted by: tch...@hotmail.com

    Hummm, it's during the tokenizing part so the "--debug" will not work. You may have to add some logs.

     
  • Anonymous

    Anonymous - 2014-08-26

    Originally posted by: ukjbrooks

    Do you have a replicator script for this? I've been testing with my Laravel project and it takes a matter of seconds.

     
  • Anonymous

    Anonymous - 2014-08-28

    Originally posted by: ukjbrooks

    The problem is Tokenizer.php - it is slow.

     
  • Anonymous

    Anonymous - 2014-08-28

    Originally posted by: tch...@hotmail.com

    (No comment was entered for this change.)

    Status: Fixed

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.