Allowed memory size error

Viewing 13 posts - 1 through 13 (of 13 total)

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #10967
    bens
    Spectator

    Hi,

    I’m getting the following error and couldn’t find anything in the forum to give me ideas how to fix it.

    Any ideas?

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 3518464 bytes) in /home/xxx/public_html/XML/feedsync/core/functions.php on line 384

    #10968
    Merv Barrett
    Keymaster

    How may listings have you imported?

    #10969
    bens
    Spectator

    4xx current
    8xx Sold
    5xxx Leased
    2xxx withdrawn

    Not sure how many files there are so far from My Desktop

    The error only presents itself on the All tab

    #11146
    Merv Barrett
    Keymaster
    This reply has been marked as private.
    #11150
    bens
    Spectator
    This reply has been marked as private.
    #11153
    Merv Barrett
    Keymaster

    Yes, I responded to that, I’ve also added the new script template but it may be easier to edit what you have following this guide.

    Its best to start a new topic as the other one is not related to the staff directory. my email is support@easypropertylistings.com.au I’ll attach those items to this thread

    #11156
    Merv Barrett
    Keymaster

    Thanks Ben, haven’t had several thousand listings imported into FeedSync before from one place.

    I’ve just updated FeedSync to 2.0.1 which adds pagination to limit the listings per page which was causing the memory issues you are having. This is what you need to do to upgrade FeedSync to 2.0.1

    Version 2.01, May 19, 2015
    New: Added pagination feature to limit the number of listings per page. Default set at 1000.

    NOTE: If you are upgrading to this new version from 2.0 all you need to do is unzip the new download and just upload the /core directory to where you have installed FeedSync and replace all files in the /core directory.

    We have also added a new setting for the config.php file so if you want to control the number or listings per page add this line to your config.php:

    define('FEEDSYNC_PAGINATION', 1000 );

    #11161
    bens
    Spectator

    Thanks that’s fixed – I wonder if the volume of listings is also effecting pulling the missing coordinates out the XML as even hitting the “Process Missing Coordinates” button only seems to do a few before getting stuck.

    #11216
    Merv Barrett
    Keymaster

    RE Missing Coordinates:

    I downloaded your XML file and re-processed one of them using an empty database with the geocoder ON and that worked perfectly copying the results from the XML file. May be a bug in the button that handles the copy command.

    So, if you are game to try again from scratch by placing all your output files into the input folder (start with 1) (backup the whole folder first to be sure)

    Step 1: Backup your feedsync folder.
    Step 2: drop the feedsync database which will remove all records. and check that is the case by browsing
    Step 3: Set geocoder to ON
    Step 4: (Make sure the processed folder is empty) then pace the first file in and run the process.
    Step 5: Put the rest of the files in the input folder and process. This will copy the MyDesktop geocode value over.

    #11217
    Merv Barrett
    Keymaster
    This reply has been marked as private.
    #11223
    Merv Barrett
    Keymaster

    We have checked FeedSync and everything is working correctly.

    MyDesktop has only included the Geocode setting half way through 2014 so some of your listings do not have the Geocode value to copy over. You can open up the older files and they are only on some listings in 2014.

    We have encountered errors on your server due to its php.ini configuration and it timing out and you will need to increase the timeout to generate the Geocode results. Google also limits IP addresses to 2,500 records per day.

    So see if you can increase the timeout while you are generating the Geocode results.
    http://stackoverflow.com/questions/3829403/how-to-increase-the-timeout-in-php

    Then you will need to process them over a few days. Once they are in the new results from MyDeskop already have the coordinates so you should be okay with new ones.

    Also this causes the site to drop out due to the server. Is this shared hosting or dedicated?

    #11236
    bens
    Spectator
    This reply has been marked as private.
    #11239
    Merv Barrett
    Keymaster

    Well if you want great hosting I recommend NetOrigin based in Perth and they have a datacenter in Perth and Sydney. Great support and service.

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The forum ‘FeedSync’ is closed to new topics and replies.