Allowed memory size exhausted - program code error?

Allowed memory size exhausted - program code error?

by Ariel Demarchi -
Number of replies: 0

Hi,

having troubles with the installation and with my non-expertise knowdlege.

After a long successful list which begins and ends like this, I get every time the same message:

"Warning: Cannot set time limit in safe mode "in /home/virtual/site15/fst/var/www/html/moodle/admin/index.php on line 284

"--------------------------------------------------------------------------------
"(mysql): CREATE TABLE mdl_survey ( id int(10) unsigned NOT NULL auto_increment, course "int(10) unsigned NOT NULL default '0', template int(10) unsigned NOT NULL default '0', days "smallint(6) NOT NULL default '0', timecreated int(10) unsigned NOT NULL default '0', "timemodified int(10) unsigned NOT NULL default '0', name varchar(255) NOT NULL default '', "intro text, questions varchar(255) default NULL, PRIMARY KEY (id)) TYPE=MyISAM "COMMENT='all surveys'  
"--------------------------------------------------------------------------------

"Success

".........

"Success

"--------------------------------------------------------------------------------
"(mysql): INSERT INTO `mdl_survey_questions` (`id`, `text`, `shorttext`, `multi`, `intro`, `type`, "`options`) VALUES (37, 'collesm1', 'collesm1short', '1,2,3,4', 'collesmintro', 3, 'scaletimes5')  
"--------------------------------------------------------------------------------

"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 100860 bytes) "in /home/virtual/site15/fst/var/www/html/moodle/lib/moodlelib.php on line 1033

"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 136 bytes) in "Unknown on line 0

From server admin I was told that I was "using more memory than allowed by PHP & MySQL configuration in our servers.  These kinds of errors are generally related to program code error".

I do not have very much idea on how to manage PHP & MySQL.  Can somebody help me a little?

Thanks,

Ariel

(If somebody wants to know the PHP configuration, please go to this URL below

http://www.eurolanguages.com.ar/phpinform.php )

Average of ratings: -