Current location: Hot Scripts Forums » Programming Languages » PHP » PHP or Mysql problem??


PHP or Mysql problem??

Reply
  #1 (permalink)  
Old 07-31-05, 08:45 PM
weilies weilies is offline
Newbie Coder
 
Join Date: Apr 2004
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
PHP or Mysql problem??


I meet a problem that the browser keep showing

"Fatal error: Allowed memory size of 8388608 bytes exhausted(tried to allocate 189 bytes) in /home/.../classes/db.class.php on line 64"

actually the system is running if i select small range of date from the system. but this problem keep come out when the data selected is big.

Any idea?

Thanz ....
Reply With Quote
  #2 (permalink)  
Old 08-01-05, 12:29 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by weilies

I meet a problem that the browser keep showing

"Fatal error: Allowed memory size of 8388608 bytes exhausted(tried to allocate 189 bytes) in /home/.../classes/db.class.php on line 64"

actually the system is running if i select small range of date from the system. but this problem keep come out when the data selected is big.

Any idea?

Thanz ....
Raise the PHP memory allocation limit in your php.ini file or use an .htaccess file to raise it on a per-directory basis.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 02:22 AM
Php problem, Mysql fetch arrays (or something) xxvatarxx PHP 3 07-27-05 10:51 AM
PHP multi-dimensional array sorting issue aqw PHP 2 06-24-05 11:09 PM
php and mysql problem AccelEric PHP 1 10-20-04 07:37 PM
another php search mysql problem sumogray PHP 6 06-28-04 08:03 AM


All times are GMT -5. The time now is 07:00 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.