Page 1 of 4 1234 LastLast
Results 1 to 10 of 35

Thread: Allowed memory size: where to change?

  1. #1
    AnitaD is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    13

    Default Allowed memory size: where to change?

    Hello,

    we use Sugar Open Source Version 4.5.1d and we have some Problems with the allowed memory size.

    When we want to see the "Emails" and choose "all Emails" with Email Status "--None--" we get an Error:
    "Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 191024 bytes) in /xx/yy.de/web/sugar/include/utils/db_utils.php on line 165"

    What does this mean and where can I increase the memory size? It must be fixed somewhere and I want to change it...

    Thank you for your support!
    Anita

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Allowed memory size: where to change?

    Search in your php.ini for the line looking liek this:

    memory_limit = 64M ; Maximum amount of memory a script may consume (16MB)

    After changing you must restart the apache.

  3. #3
    AnitaD is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    13

    Default Re: Allowed memory size: where to change?

    Hello!

    Thank you for your answer!!

    "Search in your php.ini for the line looking liek this:
    memory_limit = 64M ; Maximum amount of memory a script may consume (16MB)
    "
    Thats what I did, but it doesnīt change anything.
    But I didnīt restart the Server until now.
    How can I do that?? We are customer by "Domainfactory" and I canīt restart the Server by myself I gues...

  4. #4
    balth is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    23

    Default Re: Allowed memory size: where to change?

    Under Linux it's simple. Just type the command into the console
    sudo /etc/init.d/apache2 restart

    Under Windows, if you use Wamp :
    right click on the icon (in the roght bottom part of your screen) and select "restart services"

    And that's done

    EDIT : oups I didn't read the complete last line, maybe it doesn't work, sorry...

  5. #5
    AnitaD is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    13

    Default Re: Allowed memory size: where to change?

    Hello balth, thanks for your answer!

    Hm, that sounds good, but how I said already:
    what can I do if that doesnīt work because I canīt restart
    it by myself...

    There must be a solution to delete the errror message *argh* ??!

  6. #6
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Allowed memory size: where to change?

    Hi AnitaD,
    you have to restart your server to apply changes;
    if you are using a hosting, the best thing to do is to contact their tech support.
    What do you think the cookie monster eats ?

  7. #7
    AnitaD is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    13

    Default Re: Allowed memory size: where to change?

    Hello DragonflyMaster,

    after I changed the value to 64M, I got the message "all changes are active immediately"
    So I think it must be o.k. without a restart?

    But I will contact the Support.

    Thanks for your help everyone!
    But one question: are you sure that that ist the solution for my problem or could it be an other reason?

  8. #8
    AnitaD is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    13

    Default Re: Allowed memory size: where to change?

    Hello, itīs me again...

    I phoned with the Support Center and they say that a restart is not neccessary.

    Hm, so there is nothing I can do to delete the error mesage?
    Please not
    Any other Ideas?

  9. #9
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Allowed memory size: where to change?

    Hi AnitaD,
    if you search for your error message on Google you'll find out that the answer given from Kuske is correct.

    If you are still experiencing this issue, try setting memory_limit = 128 or higher.
    If you use IMAP mail, it might also help not checking and downloading all email folders (I don't know 4.5.1 very well, but there should be a way to enable/disable all email folders check).
    What do you think the cookie monster eats ?

  10. #10
    alienx9 is offline Junior Member
    Join Date
    Mar 2007
    Posts
    4

    Default Re: Allowed memory size: where to change?

    Hello team!!!
    It maybe sound stupid, but is there any way to install Sugar 5 on a hosted site that has not PHP.ini access???

    What I mean is that I do not have access to modify the PHP.ini file so the Limit is set to 16Mb and I received this errors when installing...


    SugarCRM
    Perform Setup SugarCRM
    Creating Sugar configuration file (config.php)

    Creating Sugar application tables, audit tables and relationship metadata
    ..................................
    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 53 bytes) in /home/malcox9/public_html/mex/include/utils.php on line 3106


    PLEASE HELP ME OUT TO FIND OUT IF I WILL BE ABLE TO SETUP SUGARCRM IN THIS HOSTING SERVER, OK?


    MANY THANKS IN ADVANCE!!!!!

    MARCUS

Page 1 of 4 1234 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 2008-04-23, 05:23 AM
  2. Replies: 4
    Last Post: 2007-08-07, 06:29 PM
  3. FCKEditor - Allowed memory size exhausted
    By sepp in forum Deutsche
    Replies: 0
    Last Post: 2006-08-28, 09:12 AM
  4. Replies: 0
    Last Post: 2006-02-23, 04:40 PM
  5. Replies: 1
    Last Post: 2005-10-25, 08:25 AM

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
  •