Results 1 to 4 of 4

Thread: huge memory needs for deleting large number of records

  1. #1
    vronp is offline Member
    Join Date
    Jan 2010
    Posts
    9

    Default huge memory needs for deleting large number of records

    Hi all,

    Today I had the need to delete 50,000 account records. After selecting them all and deleting, Sugar would delete a couple hundred and then "die".

    In php.ini I have been increasing the memory_limit value up to 1.5 GB !!! Now I can deleted about 6000-7000 records at a time. Also, I have the script execution time up to 60 seconds.

    This doesn't seem right. Any ideas?

    CentOS 5.4
    Latest apache, php, and mysql.

    Sugar Version 5.5.1RC (Build 1141) Community Edition

    thanks !

  2. #2
    turutosiya's Avatar
    turutosiya is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Tokyo, Japan
    Posts
    147

    Default Re: huge memory needs for deleting large number of records

    try delete directly from db with sql, not through sugar.
    Toshiya TSURU <turutosiya@gmail.com>
    http://j.mp/turutosiya
    http://twitter.com/turutosiya

  3. #3
    vronp is offline Member
    Join Date
    Jan 2010
    Posts
    9

    Default Re: huge memory needs for deleting large number of records

    Quote Originally Posted by turutosiya View Post
    try delete directly from db with sql, not through sugar.
    Yes, I realize that is always an option. Would prefer to use Sugar though.

  4. #4
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: huge memory needs for deleting large number of records

    This is bug #34180, it's still on the schedule but I don't have a release date for it. I expect it will be addressed sometime after we move to PHP 5.3 and it's new garbage collection stuff.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Performance question - large number of customers
    By CRMrulez in forum General Discussion
    Replies: 8
    Last Post: 2008-02-04, 12:05 PM
  2. Replies: 9
    Last Post: 2008-01-29, 05:54 PM
  3. Improving list view with large number of contacts
    By Proware in forum Feature Requests
    Replies: 1
    Last Post: 2006-07-12, 12:36 PM
  4. Deleting Multiple Records (50+)
    By beyondgone in forum General Discussion
    Replies: 3
    Last Post: 2005-06-06, 05:07 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
  •