Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 16384 bytes) in

  PHP

Email

This error memory limit lest time it showing in xamp and wamps server

please following steps to solving

  • Opens your xamp are wamps server

PHP-> php.ini

  • Search the for memory_limit word
  • Increment the memory size Like this
  • ; Maximum amount of memory a script may consume (128MB)

; http://php.net/memory-limit

memory_limit = 128M

Default memory limit isĀ  128M

  • Then increment the memory_limit=512M like
Spread the Code

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of