 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
Hastur29
Joined: 14 Aug 2008 Posts: 2
|
Posted: Thu Aug 14, 2008 9:33 pm Post subject: MDB2 Allowed memory size error |
|
|
hello,
first : sorry for my english ......
I have a problem with MDB2.
With "debug => 2" in MDB2::connect options, i have this message
| Quote: |
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 246453 bytes) in K:\EasyPHP\php5\PEAR\MDB2.php on line 4265 |
Have you a solution ?
Thanks |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1003
|
Posted: Thu Aug 14, 2008 9:45 pm Post subject: |
|
|
| The solution is to increase the memory_limit setting, e.g. in the php.ini file. |
|
| Back to top |
|
 |
Hastur29
Joined: 14 Aug 2008 Posts: 2
|
Posted: Fri Aug 15, 2008 7:25 am Post subject: |
|
|
Thanks mark,
I tried on this solution (128M) but the problem is the same !
A small precision. If "debug" is 0 I have no message to |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1003
|
Posted: Fri Aug 15, 2008 8:30 am Post subject: |
|
|
| Hastur29 wrote: | | I tried on this solution (128M) but the problem is the same ! |
Where did you change this value? Did you restart your webserver if you did in php.ini?
| Hastur29 wrote: | | A small precision. If "debug" is 0 I have no message to |
This indicates that MDB2 needs more memory if debugging is enabled. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|