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 7868027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:52:22+00:00 2026-06-03T00:52:22+00:00

I am working with a web application which is really memory-hungry, because the original

  • 0

I am working with a web application which is really memory-hungry, because the original coders put a lot of business logic in the client (JavaScript, jQuery). So it happens that web browsers crash due to lack of memory when users work with many objects in the application.

Moving business logic to the server side is no short-term option. So I’ve been searching the net for ideas as to how to quickly reduce the memory footprint of an existing web page, but came out empty handed.

Are there any general tips? (For example, could shortening the names of JavaScript variables result in a significant improvement?)

  • 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-06-03T00:52:25+00:00Added an answer on June 3, 2026 at 12:52 am

    This is a very broad question as we can’t see the Javascript code that performs this business logic. I’d hope that this web site is hosted in a controlled environment because obviously script blockers / just having javascript disabled would render it useless. I suppose some things to suggest would be:

    1. Have all of your Javascript in a single .js file and minify it. You wouldn’t do this to the development version, only the production version as minifying a file will make it completely unmaintainable – see http://code.google.com/p/minify/ for more info. Having all your Javascript in a single file would reduce the amount of HTTP connections the client needs to make to download the scripts.

    2. Have your SCRIPT tags at the bottom of the page and not at the top. This will improve the rendering time for the client (however, it wouldn’t reduce memory utilisation as the code is still there). Parsing SCRIPT blocks locks the browser until it has completed, it can’t load these asynchronously.

    There are quite a few ways you could improve this without having to rewrite the whole thing – although I’d certainly look at refactoring as the “overall solution” to this problem. I’m basically regurgitating tips from this article http://developer.yahoo.com/performance/rules.html

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

Sidebar

Related Questions

I'm currently working with an Asp.NET web application which involves a lot of stored
I'm working on a web based application which uses a JSON over HTTP based
I'm working on an MVC3 Razor web application which gets it's page decoration from
Well, simple question. I'm working with VS2008 on an ASP.NET web application which has
I am working on a web application (using Grails) which will generate a gift
I am working on a ASP.Net web forms application which I inherited from a
I am currently working on a web application. I was just wondering which has
I'm working on Asp.net MVC3 web application. I'm having one page on which appx.
I'm working on a Java EE (which I'm fairly new to) web application (JSF,
I am working on a web application which requires the user to login before

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.