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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:39:34+00:00 2026-06-17T15:39:34+00:00

I run heavy JavaScript every 5 seconds and task manager shows constant increase of

  • 0

I run heavy JavaScript every 5 seconds and task manager shows constant increase of memory usage. However Heap snapshot doesn’t. If I stop the script, memory is cleared after about half a minute two minutes.

UPDATE:

If I leave the script for a long time, the memory increases until the browser crashes.
I also tried to run timeline test of chrome dev tools, and they also don’t show the increase of memory usage, same as Heap snapshot. So I guess it’s some kind of a leak, but I can’t understand what is leaking.

Another thing which I can’t confirm, as I can’t install previous Chrome versions is that I don’t remember this happening on previous (<24 Chrome versions). And IE10 runs this test without increasing memory. Could this be issue of new Chrome?

  • 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-17T15:39:35+00:00Added an answer on June 17, 2026 at 3:39 pm

    Assuming you are referring to the Chrome Developer Tools, you might not be seeing the memory increase in the Heap snapshot, because the Heap snapshot profiler runs the Garbage Collector before the snapshot.

    Seeing increased memory usage, especially during active processing, is quite normal. The garbage collector doesn’t run unnecessarily. If your machine has memory to spare, it’ll let the reserved memory grow. If you start pushing the limit of free memory, the collector should run. You should allow this to happen to see if it does.

    Since you report that the memory goes down to it’s original level after an idle period, that indicates that there is no memory leak, and the garbage collector is able to collect all allocated heap objects correctly.

    However, IANAGE (I am not a Google engineer). I recommend reading the Heap Profiler documentation and the associated Memory 101 page for background.

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

Sidebar

Related Questions

I have to run a pretty heavy task on PHP once a week (script
I run this code here <html> <script type=text/javascript src=lib/jquery-ui-1.8.21.custom.min.js></script> <script src=http://127.0.0.1:5984/_utils/script/jquery.couch.js></script> <!--<script type=text/javascript src=lib/jquery-1.7.2.js></script>-->
I'm testing with node.js with express. Theoretically, If I run something very heavy calculation
I have an application which uses threads to run heavy tasks. When the thread
I wish to run a very heavy python script which gobbles up a lot
I have a requirement to run a set of heavy functions asynchronously at sametime
I have thread application which process heavy task, i would like to trigger forcibly
I am building a js heavy app using backbone.js. One problem I've run into
My SQL Express database has run out of room so I'm migrating my heavy
I'm trying to use Java's ThreadPoolExecutor class to run a large number of heavy

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.