Hey, received this error when testing insert a teaser view.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 45 bytes) in /home/public_html/site1/includes/database.mysql.inc on line 188
I think there was another error message when I tried to reload the page, nearly the same one but at line 526 (5xx anyway).
This might be my server but I thought I would post just incase.
Comments
Comment #1
mlsamuelson commentedYou might check that you have enough memory allocated to PHP.
Please follow up if you can identify anything that shows a link between the error and Insert View.
Thanks!
mlsamuelson
Comment #2
mlsamuelson commentedno follow up, so closing.
Comment #3
sanatate commentedI have the same problem and I have 64MB allocated to PHP.
Comment #4
Anonymous (not verified) commentedTwo ideas for testing this that come to mind
1/ Does direct accessing the view cause the issue ?
If the view fails to load there is a memory issue / or put another way too much info in your view
2/ If you dont have a pager set for the view try adding one, (for a test use 15), and do 1 again.
If the view works now, there is a memory issue if you have too many results in a view.
Failure to limit the number of nodes (results) presented by a view on one page, will sooner or later cause the memory limit to be hit.
If this shows an issue consider trying
[view_pager:name of view=x] inserts a pager view listing x entries per page. (Note, x is required). NEW!
etc.
Comment #5
cahaya commentedI managed to trigger this by creating a recursive view. In essence the view I included in the page included the page.
Comment #6
pasqualle@cahaya: congratulation :)