Larger Files
Brought to you by:
hkodungallur,
tchule
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.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
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.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
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:
#80View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
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.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
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.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: ukjbrooks
I managed to replicate this against PHPCheckstyle itself. https://github.com/jbrooksuk/phpcheckstyle/issues/20
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: ukjbrooks
The problem is Tokenizer.php - it is slow.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tch...@hotmail.com
(No comment was entered for this change.)
Status: Fixed