Announcement

Collapse
No announcement yet.

VMWare Player Complains About Swap Space

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    VMWare Player Complains About Swap Space

    Hi,

    When I run my genuine Win 10 virtual machine in VMWare Player
    it complains about Kubuntu's swap space not being big enough.

    How can I easily change the size of Kubuntu's swap space?
    Need it to survive a reboot too...

    Thanks!

    Jesse

    #2
    Would this work in 18.04?:
    https://www.digitalocean.com/communi...n-ubuntu-14-04

    Above instructions are for 14.04 so am hesitant - let me know so I don't break my Kubuntu

    Jesse

    Comment


      #3
      how big is your swap space and of what type (partition or file) how much actual RAM do you have and what type of CPU # of cores hyper threaded or not ?

      VINNY
      i7 4core HT 8MB L3 2.9GHz
      16GB RAM
      Nvidia GTX 860M 4GB RAM 1152 cuda cores

      Comment


        #4
        Originally posted by vinnywright View Post
        how big is your swap space and of what type (partition or file) how much actual RAM do you have and what type of CPU # of cores hyper threaded or not ?

        VINNY
        Hi,

        Thanks for the response...
        Swap file size is the default(not sure how to check that)
        Desktop has 32GB RAM and an AMD FX 8-core CPU overclocked to 4GHz.

        Let me know what to do thanks!

        Jesse

        Comment


          #5
          lets see
          Code:
          swapon --show
          VINNY
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            jlp@SuperFastDesktop:~$ swapon --show
            NAME TYPE SIZE USED PRIO
            /dev/dm-2 partition 976M 0B -2

            Comment


              #7
              Originally posted by JeZ-l-Lee View Post
              jlp@SuperFastDesktop:~$ swapon --show
              NAME TYPE SIZE USED PRIO
              /dev/dm-2 partition 976M 0B -2
              your using encrypted drive ? yes/no

              VINNY
              i7 4core HT 8MB L3 2.9GHz
              16GB RAM
              Nvidia GTX 860M 4GB RAM 1152 cuda cores

              Comment


                #8
                Yes, LVM encrypted HDD

                Comment


                  #9
                  Originally posted by JeZ-l-Lee View Post
                  Yes, LVM encrypted HDD
                  Aaa I have no experience with encripted drives (never used it) so would hesatate to give advice on how to resize your swap partition .

                  but I cant beleave with as much RAM as you have it would even be kneaded , that said your swap space is not much, just under 1GB

                  how much RAM are you giving the VM?

                  VINNY
                  i7 4core HT 8MB L3 2.9GHz
                  16GB RAM
                  Nvidia GTX 860M 4GB RAM 1152 cuda cores

                  Comment


                    #10
                    VM has 8GB (wan't to play with Unity3d IDE under Windows)

                    Comment


                      #11
                      try giving the VM 10-12 ,,and see if it still complanes about swap ,,,I would think you could give it 1/2 of your 32 without trouble .

                      VINNY
                      i7 4core HT 8MB L3 2.9GHz
                      16GB RAM
                      Nvidia GTX 860M 4GB RAM 1152 cuda cores

                      Comment


                        #12
                        I will leave it alone...
                        ...a full reinstall of everything is like 8 hours...
                        ...Got almost everything working now...
                        (it's not worth it to do something and ruin a perfectly working desktop)

                        Jesse

                        Comment


                          #13
                          Originally posted by JeZ-l-Lee View Post
                          When I run my genuine Win 10 virtual machine in VMWare Player
                          it complains about Kubuntu's swap space not being big enough.
                          Let's be clear. Are you saying, specifically, that when you launch your VM of Windows 10, it complains about the Host (Kubuntu) Swap partition, or as I suspect, complains about the size of the swap file in the Virtual Machine you created and installed Windows 10 in to? The whole point behind creating and running a VM (Virtual Machine), is that it is 'self contained' and doesn't utilize file space outside of the VM. If a virtualization program were to permit such a transgression, I would flush it from my system faster than a bad case of the trots!
                          Windows no longer obstructs my view.
                          Using Kubuntu Linux since March 23, 2007.
                          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                          Comment


                            #14
                            Here is the message when 1st running the VM:
                            VMware Player recommends 4 GB of system swap space for the set of currently running virtual machines.
                            976 MB of system swap space is available.
                            For optimum performance increase the amount of system swap space,
                            or configure all virtual machine memory to use reserved host RAM under Preferences.

                            Sorry, but I think it would be best to leave it.

                            Jesse

                            Comment


                              #15
                              Hi,

                              So I followed this guide to add a 16GB swap file.
                              When I run VMWare Player Win 10 VM it no longer complains about the swap size being too small.

                              Only issue I see now is that I have the new 16GB swap file and a 1GB swap partition:
                              Code:
                              jlp@SuperFastDesktop:~$ sudo swapon --show
                              [sudo] password for jlp: 
                              NAME      TYPE      SIZE USED PRIO
                              /swapfile file       16G   0B   -2
                              /dev/dm-2 partition 976M   0B   -3
                              The new 16GB swap file has a priority of "-2" so will it be used before the swap partition with priority "-3"?
                              Also will I run into any problems with the above?
                              Thanks!

                              Jesse

                              Comment

                              Working...
                              X