How to limit memory for certain program (e.g.chkdsk)?

Discussion in 'Windows 7 Help and Support' started by pstein, May 4, 2016.

  1. pstein

    pstein Honorable Member

    Joined:
    Mar 20, 2010
    Messages:
    347
    Likes Received:
    0
    Assume I perform a certain program (in background) which acquires a lot of memory.

    As an example think of a chkdsk run for an external USB hard disk which uses 6 Gb out of 8 GB physical RAM over a period of hours.

    This extra ordinary memory consumption slows down the "normal" usage significantly.

    Is there a way to limit the allowed memory usage for a certain program?

    In other words: can I tell Win7 to give chkdsk only a maximum of 2 GB for its run?

    Peter
     
  2. holdum333

    holdum333 Banned

    Joined:
    Mar 27, 2016
    Messages:
    1,244
    Likes Received:
    147
    Hi! @pstein ! Looks like you have been a member here a long time. No one is answering your thread and that always bugs me.:(
    This is my best shot. I know no way to limit memory for a certain program and not sure that it would be a good idea
    Using all your RAM is not always a bad thing. Here's a good read about RAM from HTG.
    HTG Explains: Why It’s Good That Your Computer’s RAM Is Full
    While it may seem counterintuitive to those of us who remember our computers always being starved for RAM, high RAM usage means your RAM is being put to good use. Empty RAM is wasted RAM.
     
  3. Neemobeer

    Neemobeer Windows Forum Team
    Staff Member

    Joined:
    Jul 4, 2015
    Messages:
    2,397
    Likes Received:
    360
    All memory management is handled in the kernel, so no there isn't a good way to limit the memory. You can you the Download Microsoft Application Verifier from Official Microsoft Download Center but it's purpose is for testing applications and you can reduce the heap size. In your example, chkdsk can ony really do it's job when the disk is unmounted and also it should never use that much memory during a run.
     
  4. holdum333

    holdum333 Banned

    Joined:
    Mar 27, 2016
    Messages:
    1,244
    Likes Received:
    147
    Hi @Neemobeer I think that tool is out of date.;)
     
  5. Neemobeer

    Neemobeer Windows Forum Team
    Staff Member

    Joined:
    Jul 4, 2015
    Messages:
    2,397
    Likes Received:
    360

Share This Page

Loading...