OCI: Memory discrepancy for the Linux Instance between OCI console and the ‘free’ Output — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

OCI: Memory discrepancy for the Linux Instance between OCI console and the ‘free’ Output

Applies To:
Oracle Cloud Infrastructure
Oracle Linux

Symptoms

Below are the instance details on the OCI Console:

"Shape":"VM.Standard.E2.1.Micro",
"OCPUs":1,"Memory (MB)":"1,024" Display Name
Oracle-Linux-9.6-Minimal-2025.06.30-0

As per "Shape":"VM.Standard.E2.1.Micro", provides 1 GB of memory

dmidecode output from the OS also shows 1 GB

>> dmidecode
Physical Memory Array
        Location: Other
        Use: System Memory
        Error Correction Type: Multi-bit ECC
        Maximum Capacity: 1 GB. <<========
        Error Information Handle: Not Provided
        Number Of Devices: 1

But as per the below output , we see only 500MB total memory .

===========================
>>free
               total        used        free      shared  buff/cache   available
Mem:          516032      243008       31608        5672      259484      273024. <<======== 500MB
Swap:        4194300    

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!