-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allowed memory size of 512MB bytes exhausted during diff #209
Comments
Check this #128 |
Stupid question: Does using |
@michael-o You mean the "diff" command in Linux? I think it does not allow binary files to be diff'ed. I guess the PHP script |
I am a bit confused. The file is are regular text file and this works: https://svn.viathinksoft.com/websvn/comp.php?repname=vnag&compare[]=%2Ftrunk%2Fbin%2Fwebreader.phar@88&compare[]=%2Ftrunk%2Fbin%2Fwebreader.phar@89 |
@michael-o I don't know the internals of the algorithm, so I cannot help much. About the PHAR files, I call them binary because they contain control characters in between which are not text. To be fair, a large portion of the PHAR files is text, though. I do not know why diff.php crashes and comp.php not. |
@michael-o I wanted to ask if you have news about this. I regularly get "DOS" attacks by search engines that call these URLs. |
No, I haven't but some points come to my mind:
|
Looking through my log files with the latest version 2.8.3 , I noticed the following problem:
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 135168 bytes) in diff_util.php on line 68
The URL is:
https://svn.viathinksoft.com/websvn/diff.php?path=/trunk/bin/webreader.phar&repname=vnag&rev=88
In case you need the SVN working copy:
svn co https://svn.viathinksoft.com/svn/vnag
It is a bit surprising because webreader.phar is a rather small file. However, it is a binary file, so I guess the diff util goes crazy?
The text was updated successfully, but these errors were encountered: