Moved to Mint months back. I had to install Win10 in a kvm for a couple of things impossible on Linux. I allocated 16 gig of ram to the kvm. I can’t really find anything on how that works, exactly. According to Stacer, I have a consistent 16 gig of ram being used, but that’s between a running Win10 kvm and all of my other running Linux programs. I’ve never seen my system memory use move higher or lower than 16 gig of ram when the vm is running. Again, that’s the kvm + normal Linux programs.

If I allocated 16 gig of ram to the kvm, shouldn’t my memory usage be over 16 gig or ram with other Linux programs running?


About once a week, maybe two weeks, I open a new tab on a browser and it hangs my system. Nothing works but the mouse pointer.

I initially thought of a memory leak with Firefox, but it will also do it opening a new tab in Chrome.

The last time it hung up, I think I noticed the virtual machine manager icon was missing from the menu bar. I’m waiting for it to hang up again to verify this.

Anyone have any thoughts on this?

  • DeltaWingDragon@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    Do you have any SWAP partition or swapfile? That will allow the host operating system to use parts of the disk as memory. Instead of completely locking up when it runs out of memory, it will get slow first, and buy you more time.

    • transporter_ii@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      That question has a lot of ways to go in. A swap file on Linux or Windows running in my vm? Also, I have a new PC with 32 gig of RAM. I allocated half to the vm when it is running. This kind of brings me to why I asked this question to begin with. I have Stacer installed and I’ve never seen my memory usage go over halfway (Stacer graph) when I have the vm running. I pretty much always have my vm running, because I need it running. I shouldn’t be running out of memory. If it shows my 16ish gigs of ram used when the vm is fired up, then I should have 16ish gigs of ram that I’ve never seen being used.

      I really wouldn’t think the vm is running out of memory. There is 16 gig allocated and all it has running is IIS server, VisualStudio, and Firefox. I rarely open much more than that on it. I never browse on Windows’ Firefox. It’s just open because VisualStudio opens a browser while I’m debugging. At most, the only other programs running on the vm are File Manager and Notepad.

      If I close the vm, Stacer shows my memory usage at 11 Gig. That means the vm should be using close to 6ish gig when it is fired up (according to Stacer).

      Note: Yeah, I’m not able to check Stacer after it hangs up. I do spot checks with it from time to time. Like I said, about 50% of the ram is being used when my vm is fired up. No matter what I’m doing, I’ve never seen more than that used.

      Thanks,

      • DeltaWingDragon@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        It might actually be running out of memory. 16GB are used, and the other 16GB are unusable somehow. Could be a bad RAM stick or bad connection (as mentioned by others), or it could be a memory quota. Run ulimit -a to check the quota.

        However, on my second read, the symptoms do not match up with running out of memory. (can drop to the console, can move the mouse) It could be a problem with the desktop environment. Which DE do you use?