+ Reply to Thread
Results 1 to 5 of 5

Thread: memory error

  1. #1
    Join Date
    Feb 2010
    Posts
    5

    Default memory error

    I searched the forum and messed around with this alot, sorry if it is an easy fix but i just haven't been able to figure it out.

    When I am editing a user and click edit images I get this message: Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 14155800 bytes) in /data/16/1/10/51/1499703/user/1613222/htdocs/include/images.inc.php on line 689

    We were able to upload one agent image but now we can't add any more. I am confused and appreciate any help you guys can give me. My website is at: http://02a9d48.netsolhost.com

    I tried this with a different host that supposedly allows more memory to php... ie: I edited the php.ini on the other host to allow for 32m instead of the 16m(if available) at the host above.

    thanks for any help!

  2. #2
    Join Date
    May 2004
    Location
    Long Island, NY
    Age
    40
    Posts
    9,807

    Default Re: memory error

    Resizing images/creating thumbnails can require 10 times or more the file size in ram in order to resize them. You need to either increase the memory limit or use smaller files.

  3. #3
    Join Date
    Feb 2010
    Posts
    5

    Default Re: memory error

    thanks pb i appreciate your reply, i am actually not even able to get to the point where i am uploading a file, it messes up before that. the user photo is at most 40k, i just don't understand it because even if it does take 10 times the memory i am nowhere near the 16 meg limit on the server

  4. #4
    Join Date
    May 2004
    Location
    Long Island, NY
    Age
    40
    Posts
    9,807

    Default Re: memory error

    If you're getting it on the edit images page I would guess that you have the number of images allowed set to a very high number and it is running out of memory building all the upload boxes.

  5. #5
    Join Date
    Feb 2010
    Posts
    5

    Default Re: memory error

    I am basking in your intelligence! thanks pb that was it

+ Reply to Thread

Similar Threads

  1. Memory Error??
    By nickc25 in forum General Help
    Replies: 6
    Last Post: 03-04-2009, 04:09 PM
  2. Fatal error: Allowed memory size ....
    By bkk Apartments in forum General Help
    Replies: 4
    Last Post: 03-07-2007, 11:12 PM
  3. Fatal error: Allowed memory size
    By marcelmizzi in forum Installation/Configuration Help
    Replies: 2
    Last Post: 12-24-2006, 03:21 PM
  4. Fatal error: Allowed memory size
    By batmsw in forum General Help
    Replies: 2
    Last Post: 06-23-2006, 01:26 PM
  5. PHP out of memory error?
    By remerus in forum General Help
    Replies: 2
    Last Post: 08-11-2005, 04:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts