Set memory to 700+ and still out of memory issues on installation.
-
On activating the plugin the 2nd time, I kept having issues with exceeding memory, due to line # 634 [plugin folder]/php/sphinxapi.php
Opening this file up, it was attempting to fread all 768000000 bytes that were loading up from my webpage.
I had to add a buffer size. Hopefully, this doesn’t break anything!
Lines 631
$left = $len;
$buffersize=10000000;
while ( $left>0 && !feof($fp) )
{
$chunk = fread ( $fp, min($buffersize, $left) );
if ( $chunk )
- The topic ‘Set memory to 700+ and still out of memory issues on installation.’ is closed to new replies.