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

  • SEARCH
  • Home
  • 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 4604970
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:22:07+00:00 2026-05-22T00:22:07+00:00

It is looking like i have a major memory leak in this little bit

  • 0

It is looking like i have a major memory leak in this little bit of javascript. I’m hoping someone might be able to point me in a direction to possibly be a little more memory efficient, and not cause browser crashes.

This javascript is running on a page that is up on a system constantly. It gets an applciation out of memory exception after about a week of continuous running.

Any suggestions for making this more efficient? What part of this is causing the leak?

setInterval("$.get('Dashboard.aspx', function (data)
                                     {
                                         $('#buildMonitorBody').html(data);
                                     });"
            , 300000);

As always, I appreciate any help that can be given.

  • 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-22T00:22:07+00:00Added an answer on May 22, 2026 at 12:22 am

    From my understanding, web pages are not meant to stay open permanently – for such thing you have background processes or windows services.

    If you do have to stick with this wrong approach, my tip would be to force reload every day with such code:

    window.setTimeout(function() {
       document.location.href = document.location.href;
    }, 1000 * 60 * 60 * 24);
    

    Hopefully reloading the page will release the memory reserved for the numerous timer calls.

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

Sidebar

Related Questions

I have a piece of code looking like this : TAxis *axis = 0;
I have a plain text file looking like this: some text containing line breaks
In a project we have text files looking like this: mv A, R3 mv
I have an internet shortcut on my desktop, with the contents looking like this:
i have a session looking like this: array(1) { [31]=> array(10) { [aantal]=> int(1)
I have been looking through Scott Guthrie's MVC tutorials and it seems like the
I have stumbled into several methods of looping in JavaScript, what I like the
I wish to make something looking like this: http://img291.imageshack.us/img291/5571/bartablestyling.png (Right now i only have
I was looking for something like Server.MapPath in the ASP.NET realm to convert the
I'm looking for something like: svnserve stop

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.