Results 1 to 3 of 3

Thread: Apache Service memory growing

  1. #1
    travelfreak is offline Sugar Community Member
    Join Date
    Jun 2009
    Posts
    31

    Default Apache Service memory growing

    Hi,

    i have sugarcrm running on a virtual Server with 2GB of RAM. In the php.ini file
    i have increased the max memory size to 1024MB at the moment (for larger reports
    and queries).

    User sometimes reporting, that they receive out of memory errors while working
    with sugar. Is it normal that apache.exe craps about 1,6GB of Memory and keep
    it like a Database server?

    What else could i tune? My Database is about 100MB and has about 20000 contacts.
    Increase physical memory?

    I have installed sugarcrm 5.2.0j, XAMPP 1.7.0 and MS SQL Server 2005.

    cheers,
    Marcus

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Apache Service memory growing

    see here for performance tips ... you may find something in here ...

  3. #3
    matthew's Avatar
    matthew is offline Sugar Team Member
    Join Date
    Jul 2005
    Posts
    533

    Default Re: Apache Service memory growing

    PHP has finite state, meaning that the http request takes place and then PHP processes it and when it's done, the memory is released.

    However, what can cause memory to be consumed are the number of connections to HTTP or the various modules in PHP (like the database connections). Also, long running PHP processes can always consume too much memory.

    The most important thing to do is to try to understand what the user is doing when they get the memory errors.

    A lot of the times, it's going to be something like importing records... If that's the case, then they need to break the file down into smaller chunks.

    Reporting can also be a cause of this - there are many open source reporting modules that may not properly tune accordingly for large datasets.

    See if they're running a report.

    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need some help growing up
    By appltech in forum Installation and Upgrade Help
    Replies: 5
    Last Post: 2009-01-25, 01:26 PM
  2. change apache to start/run as a windows service
    By collinjs in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-12-05, 08:01 PM
  3. Replies: 7
    Last Post: 2008-04-23, 05:23 AM
  4. Apache as a service?
    By andyw in forum Help
    Replies: 1
    Last Post: 2006-10-11, 07:37 PM
  5. SugarWiki is growing!
    By loriarce in forum SugarWiki Discussion Forum
    Replies: 3
    Last Post: 2006-08-18, 03:58 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
  •