Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7192383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:55:43+00:00 2026-05-28T19:55:43+00:00

This works great at retrieving the php data for say 15 passes BUT when

  • 0

This works great at retrieving the php data for say 15 passes BUT when the json file is say 100 items it chokes the php script and creates random errors. My guess is because the requests are all made from this singe ajax request (faster than the php script works) the php script is getting confused?

    $(document).ready(function(){

        var ajax_load = "<div class='loadwrap'><img class='load' src='/img/load.gif' style='width:12px;' alt='' /> fetching list...</div>";

        $("#status").html(ajax_load);

        $.getJSON('/fsbo/get_urls_24_hours', function(data) {

            $("#alias").fadeOut('slow');
            var ajax_load = "<div class='loadwrap'><img class='load' src='/img/load.gif' style='width:12px;' alt='' /> fetching property...</div>";

            $('#props').html('');       

                $.each(data, function(key, val) {
                    $.ajax({
                        type: "POST",
                        url: base_url + "/fsbo/get_property",
                        data: "url="+ val,
                        cache:false,
                        success:
                        function(data){
                        $("<div></div>").html(data).appendTo('#props');
                        }
                    }); 

                });
        }); 
    });

As a side note where do I put the hide loading gif? Putting it at the end of the loop does no good it just opens and closes not waiting for the return of data.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T19:55:44+00:00Added an answer on May 28, 2026 at 7:55 pm

    I do think that you have the right answer, that it is because of the call.

    The way PHP calls work, is by creating a seperate call to your system, while also invoking various other libraries, therefore invoking a sort of memory leak, which is exponentially increasing the time and resources required.

    What I suggest is – pass all of your variables to PHP and let it do the work, then receive a JSON object back, and parse it.

    It may be a bit slower to the end user, but should help avoid this from happening.

    P.S.

    I’ve had similiar issues, when these kinds of calls were making so many requests for one user, that the whole webserver crashed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

well, this works great on a non Windows Mobile: string user = WindowsIdentity.GetCurrent().Name.ToString(); but,
(Citing source at: http://jqueryui.com/demos/dialog/#modal-form ) As an example, this works great but each time
I use the line below in my C# winform app, this works great but
This code works great for generating thumbnails, but when given a very large (100MB+)
This works great: <my:DatePicker IsTodayHighlighted=True Width=200> </my:DatePicker> But I want to format the date,
This works great in PHP date_default_timezone_set('my/timezone'); $actualDate = date('Y-m-d'); Now when doing queries, I
I have a form element (see below). This works great but the default selected
Hi I got this Storyboard in WPF, that works great, but I need to
I've been adding custom attributes which I reference using JQuery, this works great. But
I am retrieving an XML string through a URL. My code works great, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.