Skip to content

php Fatal error: Allowed memory size bytes exhausted #15355

Answered by Jeckerson
hart323 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello

This is not a problem of Phalcon. Default memory limit per request in PHP is 128Mb.

  • You can try to increase memory limit ini_set('memory_limit', '1G') // set memory limit 1Gb per request
  • Or you can try to separate queries by specifying limit

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hart323
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants