Problem installing Oracle client Swap size Redhat server

I currently have a virtual server with 64bits RedHat 6.4 on VMWare. At the time of creating it we assigned 6 GB of RAM and later it was modified by the VMWare interface to increase it up to 8 GB (it was already restarted), but when trying to install the Oracle 11gr2 client, it shows me an amount less than 6 GB in Swap Size.

How do I increase this memory?

I attach an image enter the description of the image here

When validating the information that is having the server I get the following:

cat /proc/meminfo
MemTotal:        8061076 kB
MemFree:          200740 kB
Buffers:          259300 kB
Cached:          4409424 kB
SwapCached:            8 kB
Active:          3694088 kB
Inactive:        3803428 kB
Active(anon):    2530112 kB
Inactive(anon):  1147684 kB
Active(file):    1163976 kB
Inactive(file):  2655744 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       6111224 kB
SwapFree:        6111216 kB
Dirty:                44 kB
Writeback:             0 kB
AnonPages:       2828784 kB
Mapped:           946752 kB
Shmem:            849004 kB
Slab:             243648 kB
SReclaimable:     209000 kB
SUnreclaim:        34648 kB
KernelStack:        4328 kB
PageTables:        39360 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    10141760 kB
Committed_AS:    4130892 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      158668 kB
VmallocChunk:   34359573228 kB
HardwareCorrupted:     0 kB
AnonHugePages:   2467840 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       10240 kB
DirectMap2M:     8378368 kB
 0
Author: Ruslan López, 2016-09-23

1 answers

I found the solution in a forum, I leave it here if it helps someone else. Solution

Follow steps with user root :

  1. Creates a file for swap memory with the name "myswapfile", in the /root directory with size of 1024 MB (1GB)

    Dd if= / dev / zero of= / root / myswapfile bs=1M count=1024

    Ls-l/root / myswapfile

  2. Change permissions so that only the root can have access to modify it

    Chmod 600/root / myswapfile

  3. Causes the myswapfile to serve as a system-recognized swap file

    Mkswap/root / myswapfile

  4. Activates the swap with that file

    Swapon/root / myswapfile

  5. To finish setting it as swap the following line is added to this /etc/fstab file:

    / root / myswapfile swap Swap defaults 0 0

  6. Verify that{[3] was created and is being recognized]}

    Swapon-s

    Free-k

  7. If you do not want to restart, to make sure that the system takes all the swap memory, including the new one:

    Swapoff-a

    Swapon-a

 1
Author: Angel Doza, 2017-05-16 19:47:26