Results 1 to 5 of 5

Thread: Allowed memory size ...... error/contacts/import

  1. #1
    gkeyes is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    29

    Default Allowed memory size ...... error/contacts/import

    Version 5.0.0d (Build 3235)

    I was having so many problems with importing that I had to keep importing.,..having it hang.... delete records.....re-import.... anyhow it looks like I have broke something. When I go into the contacts LIST it will sometimes show the list other time gets an error like below. Not always the same error, but always start with Allowed Memory size......

    I did a reboot of the entire server, but it did not solve the problem.

    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 16 bytes) in /var/www/SugarCE-Full-5.0.0c/include/utils/db_utils.php on line 192
    Last edited by gkeyes; 2008-08-20 at 07:57 PM.

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Allowed memory size ...... error/contacts/import

    Hi gkeyes

    it is a good idea to increase the memory allowed to php, like above 64 MB.
    Our php has 128 MB allowed to.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    gkeyes is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    29

    Default Re: Allowed memory size ...... error/contacts/import

    That would be in the PHP.INI file and called memory_limit =

    Correct?


    Since I am in there should I make any other changes you can think of?

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Allowed memory size ...... error/contacts/import

    Yes, this is the correct parameter to change.
    I don't think so there are other changes to perform.
    After changing it you must restart the apache server.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    jjwdesign's Avatar
    jjwdesign is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Orlando, FL
    Posts
    503

    Default Re: Allowed memory size ...... error/contacts/import

    Here's what we use (PHP5):

    Code:
    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;
    max_execution_time = 6000	 ; Maximum execution time of each script, in seconds
    max_input_time = 600	; Maximum amount of time each script may spend parsing request data
    ;max_input_nesting_level = 64 ; Maximum input variable nesting level
    memory_limit = 128M	 ; Maximum amount of memory a script may consume (128MB)
     
     
    ;;;;;;;;;;;;;;;;
    ; File Uploads ;
    ;;;;;;;;;;;;;;;;
    ; Whether to allow HTTP file uploads.
    file_uploads = On
    ; Temporary directory for HTTP uploaded files (will use system default if not
    ; specified).
    ;upload_tmp_dir =
    ; Maximum allowed size for uploaded files.
    upload_max_filesize = 40M
    You must make sure you don't run out of memory or timeout. The upload size can also be an issue. Restart httpd can usually be done by the following:

    service httpd restart

    Cheers!
    SugarForge Projects:
    JJWDesign Google Maps
    JJWDesign Tools and Reports

    Follow my blog postings at JJW Design.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Allowed memory size: where to change?
    By AnitaD in forum Help
    Replies: 34
    Last Post: 2011-06-14, 05:06 AM
  2. Replies: 7
    Last Post: 2008-04-23, 05:23 AM
  3. Replies: 4
    Last Post: 2007-08-07, 06:29 PM
  4. FCKEditor - Allowed memory size exhausted
    By sepp in forum Deutsche
    Replies: 0
    Last Post: 2006-08-28, 09:12 AM
  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
  •