News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Search results for: FATAL ERROR - Allowed memory size of

Search order
#1
SMF 2.1.x Support / Weird error 500
February 19, 2024, 06:11:30 AM by Gryzor
...... !  Today I woke up (meaning: nothing changed) with error 500 messages, but *only* on the home page. Every  ............  server or apache, home will load once).  The PHP error log shows this weird message:  PHP Fatal error:  ............  memory size of 134217728 bytes exhausted (tried to  ............ /Sources/Subs-Db-mysql.php on line 989 PHP Fatal error: Allowed memory size of 134217728 bytes  ............  65536 bytes) in Unknown on line 0  Plenty of memory available on the server. Any ideas?   ......
#2
SMF Coding Discussion / Expensive query?
April 06, 2023, 01:21:29 PM by @rjen
......  but on another server the mod results in this php error  PHP Fatal error: Allowed memory size of  ............ );  }  }  I suspect this join may be the cause of the issue...   $topicquery = 'SELECT t. ......
#3
Français (French) / Allowed memory size exhausted
February 14, 2022, 02:50:04 AM by bisane
......  !  Voici la citation exacte : Fatal error: Allowed memory size of 671088640 bytes  ............  adresse un avis pour publication au Bulletin officiel des annonces civiles et commerciales BODACC. ......
......  updated the forum today and now there is an error and some pages aren't loading. Error 500.    ............  message is from 8:16 pm. Errors start shortly after.   QuoteThis is an  ............  version: Simple Machines Forum 2.0.19  End of report. I think this is the error from my logs:   ............ : Got error 'PHP message: PHP Fatal error: Allowed memory  ............  of 134217728 bytes exhausted (tried to allocate 72  ......
......  members who have not loggin in for 400 days.   Fatal error: Allowed memory size of 134217728 bytes  ............ 'm run it on local machine, Openserver In php.ini: memory_limit = 1600M  If you will do  ......
#6
......  loads happening randomly on my server while most of the time, the load is very low and noticed these  ............  in the error_log file:  QuoteMaximum execution time of 300  ............  === null ? $db_connection : $connection; QuoteFatal error: Allowed memory size of 134217728 bytes  ............  on line 889Code in line 889: Quotefunction smf_db_error_backtrace($error_message, $log_message = '', $ ............   if (empty($log_message))  $log_message = $error_message;   foreach (debug_backtrace() as $step)  ............  $line = $step['line'];  }  } QuotePHP Fatal error: Maximum execution time of 300 seconds  ............ -Db-mysql.php on line 889Line 889: see previous error.  I also noticed that the latest high load  ............  attachments in messages.  Is there a limit in size of attachments SMF can handle or is the problem  ......
#7
SMF 1.1.x Support / SMF wont load?
September 03, 2016, 12:40:20 AM by KEA
......  happens.   I cant even figure out what version of SMF we have but I know its several years old.    ............  that we can fix this. SMF is trying to use more memory that we allow. More than likely it's an error............  within SMF. The exact error is:  PHP Fatal error: Allowed memory size of  ......
#8
......  to load subscriptions.php URL I got following: Fatal error: Allowed memory size of 33554432 bytes  ......
...... .  open index.php change Code Select Expand error_reporting(E_ALL); To Code Select Expand  ............ );  open ssi.php Change Code Select Expand $ssi_error_reporting = error_reporting(E_ALL); To Code  ............  Expand $ssi_error_reporting = error_reporting(E_ALL & ~E_DEPRECATED  ............ & ~E_NOTICE);  Hey!  First of all, thank you very much for trying to help  ............  provided here, but now I have a problem:  QuoteFatal error: Allowed memory size of 268435456 bytes  ............ /Subs.php on line 1843 This is all I get instead of my forums :-(  Any ideas? ......
......  "FATAL FLAW" IN SMF'S PARSER   Several days ago, I was  ............  about a potentially "fatal flaw" in SMF's bbcode parser. It occurs when a  ............  and PM Inline Attachments mod, has a large number of parameters, such as 14+.  What happens in the  ............  ($preg) is built with a regex expression for each of the parameters. (1) Another array ($orders) is  ............  with all possible permutations of the parameters from $preg. (2) The $orders array  ............  a second on my system PER USE and using 90MB of memory!! Checking for 15 parameters crashes my  ............  with an out-of-memory error because it attempts to allocate more  ............  128MB of memory!  Using this array of permutations, I  ............  ================================================= Size before "permute" function is executed: 5,246,024  ............  ================================================= Size before "permute" function is executed: 5,246,200  ............  ================================================= Size before "permute" function is executed: 5,246,376  ............  ================================================= Size before "permute" function is executed: 5,246,552  ............  ================================================= Size before "permute" function is executed: 5,246,760  ............  ================================================= Size before "permute" function is executed: 5,246,976  ............  ================================================= Size before "permute" function is executed: 5,247,208  ............  ================================================= Size before "permute" function is executed: 5,247,392  ............  ================================================= Size before "permute" function is executed: 5,247,640  ............  ================================================= Size before "permute" function is executed: 5,247,816  ............  ================================================= Size before "permute" function is executed: 5,247,968   ............  error: Allowed memory size of 134217728 bytes exhausted  ............  time to generate all the possible permutations of the parameters. 14 parameters take just under a  ............  actually crashed the script....  By the way, the error message returned by the script referred to this  ............  Expand // This gets all possible permutations of an array. function permute($array) {  $orders =  ......
......  white. However, when I choose a smaller group of members to send to, it moves to the next page  ............  with a large forum have this problem?  The apache error log gives me:  Code Select Expand PHP Fatal error............  Allowed memory size of 33554432 bytes exhausted (tried to  ............ =news;sa=mailingmembers   How can I allot more memory if that's the case? You can cross out server  ......
#12
SMF 2.0.x Support / SSI.php issue
July 31, 2015, 11:19:37 PM by ArchVile
...... : I am on shared hosting and only have 64MB of ram to work with for php. As soon as php goes to  ............  the file with readfile(), I get:  PHP Fatal error: Allowed memory size of 67108864 bytes  ............  (which I verified by taking out readfile, no more memory exceeded error). With get_defined_vars(), I saw  ............  SSI is loading a TON of stuff into variables I don't need. I only need $ ............ '], so I manually unset everything SSI loads into memory. This fixed the memory exceeded error, and people  ............  am now getting this message in my web server php error log every time someone accesses the php script to  ............  download the file:  PHP Fatal error: Function name must be a string in /home/ ............  two main issues  1) SMF's SSI seems to load a ton of stuff into many different variables which takes  ............  enough memory to cause readfile() to fail with memory exceeded  ............  the php files in parallel, as I am getting error messages in completely unrelated php files (load. ............  name must be string message in the server php error log.  In short, it seems that after require(),  ............  finished being executed by the time the lines of php code after the require call are evaluated. Is  ............ ['groups']; $user = $user_info['username'];  // Memory freeing - Need to free up all the variables that  ............  = array_diff($vars, $keepVars);   // Free from memory. for ($i = 0; $i < sizeOf($vars); $i++) {   ............ . $file_name;  // The forum's usergroups which are allowed to download this file $authedGroups = array(1, 3,  ............ , 14, 18);  // Take the set intersection of the two arrays.. $groups = array_intersect($ ............ =$file_name");  header("Content-Length: " . filesize($file_path));  readfile($file_path); // <--  ............  limit exceeded error happens in  // forum/Sources/QueryString.php  ............  483 when this  // line left in and the memory freeing code above is  // commented out.   ............ (''); }  else  die('Fatal error reading file.');   ......
#13
Install and Upgrade Help / SMF 1.1.8 problem
March 13, 2015, 08:26:28 AM by Ulfkrause
......  about to upgrade from PHP 5.3 to higher I get a error  "Fatal error: Allowed memory size of 134217728  ......
......  me, that uploading a 9Mb attachment uses >100Mb memory?  I am with fasthosts, a large hosting company,  ............ , and after everything worked fine for a week all of a sudden I can't upload some images anymore, as  ............  last night. I looked in the error logs and I see:Quotemod_fcgid: stderr: PHP Fatal  ............ : Allowed memory size of 94371840 bytes exhausted (tried to  ............  me: QuoteRegarding your email, the max upload size was not exceeded but the memory limit is. Every  ............  you will upload the file, this will exhaust the memory limit of your server. You can remove unnecessary  ............  in your server that you no longer need so the memory limit of your server will not be exceeded. Is  ......
#15
SMF 2.0.x Support / Help
April 20, 2015, 03:14:28 AM by theamitak
......  of installation Country Flag Fatal error: Allowed  ............  size of 33554432 bytes exhausted (tried to allocate  ......
......  on my forum tries to upload an attachment, this error pops up. It's only been a recent thing like  ............  the last week.  QuoteFatal error: Allowed memory size of 94371840 bytes  ......
...... , Pretty URL me da error cuando accedo a la bandeja de elementos enviados  ............  la pagina se queda en blanco, y se genera este error en el LOG: PHP Fatal error: Allowed memory size  ......
#18
......  occasionally see these PHP errors in my log files: Code Select Expand PHP Fatal  ............ : Allowed memory size of 134217728 bytes exhausted (tried  ......
#19
...... 've been away from being an Admin of my forum for a while, and because of that I've  ............  update it to 2.0.7 however, I keep receiving this error message every time I click "Install Mod".   ............  error: Allowed memory size of 33554432 bytes exhausted ( ............ .php on line 2072 Does anyone have any kind of advice to help me with this issue? I simply want  ......
...... : http://www.profsl.com/smf/index.php?topic=37303.0  Fatal error:  ............  memory size of 268435456 bytes exhausted (tried to  ............  491520 bytes) in /home/profsl/public_html/smf/Sources/Subs.php(2581) :  ............  on line 1028  Nothings on lines 1028 or 2581 of subs.php suggests an issue  Max characters was  ............  are our "roster" threads which contain plenty of table formatting text. ......
Advertisement: