Welcome Guest, Not a member yet? Register   Sign In
Fatal error: Allowed memory size of xxxbytes exhausted
#15

(This post was last modified: 10-31-2015, 08:08 AM by includebeer.)

(10-30-2015, 10:50 PM)chandrabhanu Wrote:
(10-30-2015, 08:12 PM)includebeer Wrote: Huh? How do count your rows? Don't you know about "select count(*)" ? How can it use so much memories if it returns a single number?

Hi, I am using $this->db->count _all() . From your reply tone  I think , I am doing some mistake. Let me check once again the complete code so that I can reply in details. Thanks

That's weird because count_all() do a "select count(*)", it doesn't fetch all the data. So I don't understand why you would run out of memory! Confused
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
RE: Fatal error: Allowed memory size of xxxbytes exhausted - by includebeer - 10-31-2015, 08:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB