Hi to all,
please help me to solve that issue.
I am trying to clear cache but I get 500 HTTP (Internal Server Error...
i increase the max_execution_time = 3000
and memory_limit = 2048M
i get that error in the error log.

[27-Oct-2012 18:56:36 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 76 bytes) in /....../public_html/mysitefolder/includes/menu.inc on line 3587
[27-Oct-2012 19:00:28 UTC] PHP Fatal error:  Out of memory (allocated 1756626944) (tried to allocate 84 bytes) in /....../public_html/mysitefolder/includes/menu.inc on line 3729
[27-Oct-2012 19:04:52 UTC] PHP Fatal error:  Out of memory (allocated 1756626944) (tried to allocate 71 bytes) in /......//public_html/mysitefolder/sites/all/modules/views/views.module on line 416

what do you think I did wrong?!
Thanks to all.

Comments

ntigh52’s picture

edit: I cleared cached from the db TRUNCATE all the cache_... tables.
I tried again to clear cache from 'admin/config/development/performance' and I cant!
I tried it in my local host
( private machine) and I sill cant.
whats wrong?
thanks in advance...

ntigh52’s picture

edit:
wit drush I succeeded

'all' cache was cleared                                                                                                                                      [success]

Why?
whats wrong?
Thanks a lot.

Anonymous’s picture

There is not enough information to say what is wrong. Look at the system log files to see if there is anything interesting.

Eliminate some contrib modules to determine if it is related to a particular module.

Jooblay.net’s picture

Title: clear cache PHP Fatal error » clear cache PHP Fatal error

You could also load devel modules show memory limits. This will allow you to see how much memory is used on each page and what the peak was or is.

The error 500 can be caused by many many things. One being memory_limit. 2056M is high but how big is your site? Further did you also load the memory limit as an ini setting in your settings.php file.

/**
* This sets the php_memory_limit and can have some effect of overall memory limits if you do not have access to your php.ini file.
* (experimental)
*/
ini_set('memory_limit', '2056M');

Error 500 Tip: check your sites/example.com/modules or sites/all/modules directory and make sure you did not accident copy other directories or files to these folders as Drupals Auto-Discovery will throw you some nasty:(

Version: 7.16 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.