PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
MDB2 Allowed memory size error

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Database
View previous topic :: View next topic  
Author Message
Hastur29



Joined: 14 Aug 2008
Posts: 2

PostPosted: Thu Aug 14, 2008 9:33 pm    Post subject: MDB2 Allowed memory size error Reply with quote

hello,

first : sorry for my english ...... Wink

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
View user's profile Send private message
mark



Joined: 07 Jan 2007
Posts: 1003

PostPosted: Thu Aug 14, 2008 9:45 pm    Post subject: Reply with quote

The solution is to increase the memory_limit setting, e.g. in the php.ini file.
Back to top
View user's profile Send private message
Hastur29



Joined: 14 Aug 2008
Posts: 2

PostPosted: Fri Aug 15, 2008 7:25 am    Post subject: Reply with quote

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
View user's profile Send private message
mark



Joined: 07 Jan 2007
Posts: 1003

PostPosted: Fri Aug 15, 2008 8:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Database All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software