Results 1 to 5 of 5

Thread: FATAL ERROR Allowed memory size of 104857600 bytes

  1. #1
    fabivomsee is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    78

    Default FATAL ERROR Allowed memory size of 104857600 bytes

    I got some changes in my sugar systems by a sugar professional programmer... First I thought it is a matter of the allowed php size... but with 100 MB in the php ini I still get the Error:

    Fatal error: Allowed memory size of 104857600 bytes exhausted (tried to allocate 60 bytes) inxxx/data/Link.php on line 86

    and lot of more errors

    with 50 MB in the settings:
    Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 140 bytes) in /data/Link.php on line 500

    Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 53 bytes) in /nclude/SugarEmailAddress/SugarEmailAddress.php on line 66

    80MB in the php ini settings
    Fatal error: Allowed memory size of 83886080 bytes exhausted (tried to allocate 512 bytes) in xxx /sugar/data/SugarBean.php on line 2326

    Version: Version 5.2.0a (Build 5447)
    Is it a Serverside Problem or the Problem of the modifications of the Programmer?

    How can I solve this?

    Thanks for replies..
    Best

    Fabian
    Last edited by fabivomsee; 2009-03-12 at 12:25 PM.

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

    Default Re: FATAL ERROR Allowed memory size of 104857600 bytes

    I do not want to write this, but I must.
    Please ask your "professional programmer" he has programmed a memory eating piece of code....

  3. #3
    fabivomsee is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    78

    Default Re: FATAL ERROR Allowed memory size of 104857600 bytes

    okay... thank you for your reply..

  4. #4
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: FATAL ERROR Allowed memory size of 104857600 bytes

    you can increase the memory limit little high like 128MB or 256MB and check.

    OR

    Ask your programmer to optimize the code to use less memory.

  5. #5
    mvngti is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    South Africa
    Posts
    510

    Default Re: FATAL ERROR Allowed memory size of 104857600 bytes

    There is a bug in php5 which is not handled in SugarCRM which eats memory in certain instances.
    see http://www.sugarcrm.com/crm/index.ph...8b6ca3e46cc3da

    This php bugs manifests in SugarCRM when many objects are created that have parent->child relationships such as Project->Project task. Even if the parent variable is reassigned to a new object in a loop the child still has a link to it so the memory is not released by the garbage collection in php5.

    The ONLY way currently to work around this is to reuse the SAME parent or child object instead of creating a new one for each iteration of the loop.

    M
    --


    Marnus van Niekerk

    There are only 10 types of people in the world
    those who can read binary and those who don't

    Modules:
    CE Teams - Upgrade safe teams module for Community Edition
    FieldACL - Field Level Access Control for Community Edition
    EditLogicHooks - Create and edit Logic Hooks from the Admin GUI
    FlexibleChartDashlet - Display any data in a Dashlet Chart
    DocumentThumbnails - Thumbnails for Documents module

    Many questions can be answered by reading the Developers Manual

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. fatal error Allowed memory size of 134217728 bytes exhausted
    By vishwasrao in forum Developer Help
    Replies: 9
    Last Post: 2009-02-04, 04:16 AM
  2. Replies: 2
    Last Post: 2009-01-19, 04:15 AM
  3. Fatal error: Allowed memory size of 16777216 bytes exhausted
    By SerwiseAG in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2008-11-12, 11:43 AM
  4. Replies: 4
    Last Post: 2008-08-21, 12:22 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
  •