Menu

RamDyn.exe RAM usage build-up

2023-03-08
2023-03-08
  • Danish Bronco

    Danish Bronco - 2023-03-08

    Hi everyone,

    I still encounter issues with RamDyn.exe using up more and more RAM over time, especially if the RAM disk size has been set to a hefty number, like 4GB or more; at some point, RAM usage becomes so high that I get the infamous "Not enough space on... Some data will be lost".

    While I appreciate the warning, I wonder if there's a way to curb RamDyn.exe's enthusiasm. Other than rebooting the PC, I mean.

     
  • v77

    v77 - 2023-03-08

    This message is not a warning, it's an error, and you actually lost data.
    Well, I could add a warning sooner, for instance if the amount of free ram is below a parameter given by the user...

    If RamDyn uses much more RAM than the space of the data, it usually means that the drive is very fragmented and the size of the memory blocks is too high.
    I suggest to reduce this parameter:
    RamDisk Configuration Tool -> Advanced -> Dynamic RamDisk Parameters -> Size of Allocated Memory Blocks
    Or in command line, check the BlockSize argument.
    Of course, using smaller memory blocks is a bit slower.

     
  • Danish Bronco

    Danish Bronco - 2023-03-08

    OK. If I set memory blocks to default size, then it shouldn't be an issue, even if more blocks are written that aren't entirely used up, right?

    In my case, the RAM disk was set to 6172MB with default size blocks, and though I had several YouTube tabs open in Firefox, the videos weren't loading, or even already loaded in memory.

    This message often appears when the brower window is opened in the foreground and the program has been idling for a few minutes.

    At first I thought it was a bad cache parameter in Firefox, so I disabled disk cache and enabled memory cache, that's supposed to bypass the RAM disk altogether.

    However, I still get those error messages when the size of the RAM disk is bigger than 512MB, regardless of the file system and block size I use.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.