Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
VGSources
Blog

How to Add More RAM to Your VPS (Safely, Without Reinstalling)

A VPS gets RAM from its virtual-machine plan. This guide explains how to diagnose memory pressure, resize or replace instances safely, preserve networking, and avoid confusing storage or swap with real RAM.
Length11 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To add RAM to a hosted VPS, resize its virtual machine plan or replace it with a larger plan from the provider. You do not install a physical memory module, and adding a block-storage volume does not increase RAM. Most upgrades require a shutdown, reboot, migration, or replacement, so take a snapshot or backup first and plan for a short outage.

What “adding RAM” means on a VPS

A VPS receives its memory allocation from the provider’s virtual-machine plan. The hypervisor assigns that amount of RAM to your instance; there is no physical DIMM for you to install. Increasing memory therefore means changing the plan, resizing the instance, or creating a replacement instance from a snapshot with a larger bundle.

As an Amazon Associate I earn from qualifying purchases.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The exact operation depends on the provider. Some services offer an in-place resize, sometimes with a RAM-and-CPU-only option. Others use fixed bundles and require a snapshot-based replacement. A larger plan can also change vCPU count, storage capacity, transfer allowance, or the monthly price. Read the plan details before confirming the change.

DigitalOcean describes the benefit directly: “Increasing a Droplet’s memory and CPU improves its performance.” That statement applies when memory pressure is actually limiting the workload; buying RAM will not fix a CPU-bound process, slow storage, a database misconfiguration, or an application leak.

#1 Best Overall
A-Tech Server 16GB Kit (2 x 8GB) 2Rx8 PC3L-12800E DDR3 1600MHz ECC Unbuffered UDIMM 240-Pin Dual Rank DIMM 1.35V Workstation Server Memory RAM Upgrade Stick Modules (A-Tech Enterprise Series)
  • Capacity: 16GB (2x 8GB Modules) | Type: DDR3 240-Pin | Speed: 1600MHz PC3-12800 / (PC3-12800E) | ECC Type: ECC-UDIMM (ECC Unbuffered DIMM) | Rank: 2Rx8 (Dual Rank x8) | Voltage: 1.35V
  • Designed for ECC UDIMM Compatible Servers/Workstations (Rated Speeds & ECC Capabilities are CPU Dependent). Not Compatible with Desktops/Laptops.
  • ECC Types can not be mixed | All installed modules must be ECC UDIMMs in order to function properly | A maximum of eight ranks per memory channel can be installed at once
  • All A-Tech memory modules undergo stringent quality control testing to ensure dependable and reliable performance
  • Backed by A-Tech's Limited Lifetime Warranty + Tech Support Team available to help before and after your purchase

Diagnose memory pressure before you pay for a larger plan

First establish that RAM is the bottleneck. A server can feel slow while still having available memory because of CPU saturation, disk I/O, a database lock, a PHP worker limit, a container limit, or a faulty application.

Check current RAM and swap

  1. Connect to the VPS over SSH.
  2. Run free -h. Note total, used, available, and swap values. The available column is more useful than “free” alone because Linux uses otherwise idle RAM for cache.
  3. Run vmstat 1 5. Sustained swap-in or swap-out activity, shown in the si and so columns, indicates that the system is moving pages between RAM and disk.
  4. Run swapon --show to list active swap devices or files.
  5. Review application and kernel logs for out-of-memory events. On many Linux distributions, journalctl -k or the system log will show an OOM-killer message and the process that was terminated.

Check limits outside the VPS plan

Containers, hosting control panels, systemd services, and application pools can each impose a lower memory ceiling than the virtual machine. A container may be killed while the host still reports available RAM. Check the container’s memory limit, the service unit’s resource settings, and limits for PHP-FPM, Node.js, Java, or other runtimes before changing the VPS plan.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Distinguish RAM pressure from other bottlenecks

  • CPU saturation: high load with consistently busy vCPUs points to a compute bottleneck, not necessarily a memory shortage.
  • Disk I/O: high I/O wait or a full volume can make every request slow even when RAM is available.
  • Database configuration: an oversized buffer pool, too many connections, or inefficient queries can consume memory or CPU.
  • Worker limits: web-server or PHP worker counts can cap throughput independently of installed RAM.
  • Memory leaks: a process that grows continuously may eventually exhaust any fixed plan; upgrading buys time but does not correct the leak.

A documented example comes from small Amazon Lightsail WordPress instances: when memory is exhausted, the Linux kernel may kill MariaDB. If your logs show that pattern, reducing database and worker usage or moving to a larger bundle is more appropriate than simply adding storage.

Choose the right upgrade size

Measure peak usage during the busiest period, then leave headroom for deployment, backups, traffic spikes, and background jobs. Selecting only the next size can result in another disruptive resize if the workload is growing rapidly. Plan for the memory required by the operating system, database, web server, application workers, monitoring agents, and cache simultaneously.

Decision Use it when Important consequence
RAM-only or CPU-and-RAM resize You need memory and perhaps more vCPUs, but existing disk capacity is adequate. Disk size may remain unchanged, depending on the provider and plan.
CPU, RAM, and disk resize You need more memory and expect storage growth or require a combined plan. The disk allocation can increase with the plan and may not be reducible later.
Snapshot-based replacement The provider uses fixed bundles rather than in-place resizing. The new instance can have a different public IP unless you remap a static address.
Swap tuning You need a temporary safety buffer on a small-memory instance. Swap uses disk and is far slower than RAM; it is not an increase to the plan’s memory.

Plan prices and available sizes vary by provider, region, operating system image, billing term, and date. Confirm the current plan specification and recurring charge in the provider console before applying an upgrade.

Prepare safely before resizing

  1. Record the baseline. Save the output of free -h and swapon --show. Record disk usage, mounted volumes, service status, firewall rules, DNS records, public and private IP addresses, and any scheduled jobs.
  2. Take a fresh snapshot or backup. A snapshot gives you a rollback point if the resize or replacement fails. For databases, also keep a current logical or physical backup; do not rely on an old image alone.
  3. Schedule a low-traffic window. Expect a reboot, migration, or replacement. Tell users about the maintenance period and pause jobs that could be interrupted.
  4. Check application dependencies. Confirm that the database, web server, queues, certificates, mounts, and monitoring agents will start on the upgraded instance.
  5. Plan network continuity. Determine whether the public IPv4 address is preserved. If it is not, prepare DNS changes or reserve a static address before the cutover.
  6. Choose a plan with headroom. Base the choice on peak memory and expected growth, not only the current average.

How to increase RAM on a DigitalOcean Droplet

DigitalOcean documents two CPU Droplet resize choices: one that increases CPU and RAM only, and another that increases CPU, RAM, and disk. Use the first when your existing disk allocation is sufficient; choose the second when storage must grow as well.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Resize procedure

  1. SSH to the Droplet during the maintenance window.
  2. Shut it down cleanly from the command line. DigitalOcean recommends this approach to help avoid data corruption. On a systemd-based Linux image, sudo shutdown -h now is a typical command; use the shutdown method appropriate to your distribution.
  3. Confirm that the Droplet is powered off, then take a current snapshot from the control panel.
  4. Open the Droplet’s resize controls and choose either the CPU-and-RAM-only option or the CPU, RAM, and disk option.
  5. Select the larger plan and apply the resize. The platform may perform a migration before the Droplet becomes available again.
  6. Boot the Droplet after the operation completes.
  7. Reconnect over SSH and run free -h. Confirm the new total memory, then check services, mounts, firewall rules, application health, and monitoring alerts.

After a DigitalOcean resize

Verify that the filesystem sees the expected disk size if you selected the disk-increasing option. Confirm database connectivity and run a representative request through the application. Keep the snapshot until the server has remained healthy through at least one normal traffic cycle.

Rank #2
A-Tech Server 16GB Kit (2x8GB) DDR4 2933MHz PC4-23400 ECC UDIMM 1Rx8 Single Rank 1.2V ECC Unbuffered DIMM 288-Pin Server & Workstation RAM Memory Upgrade Modules (A-Tech Enterprise Series)
  • A-Tech RAM Memory compatible for select DDR4 Server and Workstation systems only; (*WILL NOT WORK with Desktop or Laptop Computers/PCs*)
  • 16GB RAM Kit (2 x 8GB Modules); DDR4 DIMM 288 Pin; Speeds up to 2933MHz PC4-23400 (PC4-2933Y)
  • ECC Unbuffered UDIMM; 1Rx8 - Single Rank x8; JEDEC DDR4 standard 1.2V
  • Improves system performance, workload capacity, and reduces bottlenecks by increasing memory (RAM) resources
  • Note: This memory is ECC Unbuffered and cannot be mixed with different ECC types such as ECC Registered, ECC Load Reduced, or Non-ECC Unbuffered; (Memory compatibility can vary among different system models and their installed components; please verify compatibility and follow memory channel guidelines to ensure maximum performance)

How to increase RAM on an Amazon Lightsail instance

Lightsail uses fixed bundles containing memory, vCPUs, storage, and a transfer allowance. You generally do not resize only the RAM field. Instead, create a snapshot of the existing instance and launch a new instance from that snapshot using a larger bundle.

Snapshot-and-replace procedure

  1. Open the Lightsail instance and create a current snapshot. Wait for the snapshot to finish before continuing.
  2. Open Snapshots in the Lightsail console.
  3. For the snapshot, choose Create new instance.
  4. Select a bundle with more memory. Review its vCPU, storage, transfer allowance, and recurring price, because all of those values are part of the fixed bundle.
  5. Create the new instance and wait for it to finish provisioning.
  6. Test SSH access, mounted storage, startup services, database connectivity, application responses, and scheduled jobs.
  7. Switch traffic to the new instance. Keep the old instance stopped or isolated until the new one is verified, then remove it only after confirming that the snapshot and backups are sufficient.

Preserve the public address

The default public IPv4 address changes when a Lightsail instance is stopped and started. If clients, DNS records, allowlists, or game-server listings depend on a stable address, use a static IPv4 address and remap it to the replacement instance after testing. Update DNS only after the new instance is ready, and account for resolver caching when estimating the cutover time.

How to increase RAM on a Vultr Cloud Compute instance

Vultr documents an upgrade through the instance’s plan settings. The Change Plan operation activates a plan with more vCPUs, RAM, and storage, and the documentation states that it does not change the instance data or file system.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Change Plan procedure

  1. Open the instance in the Vultr control panel.
  2. Choose Settings, then Change Plan.
  3. Select a higher plan and review the new vCPU, RAM, storage, and billing details.
  4. Click Upgrade and confirm the change.
  5. Allow the platform to complete the upgrade. A reboot or short migration may still occur, so treat the operation as maintenance.
  6. Reconnect and verify memory with free -h. Check application health, databases, mounts, firewall rules, IP reachability, and monitoring.

Provider differences that affect your cutover

Comparison point DigitalOcean Droplets Amazon Lightsail Vultr Cloud Compute
RAM-only choice Offers a CPU-and-RAM-only resize, plus a combined CPU, RAM, and disk option. Uses fixed bundles; memory is selected as part of the larger bundle. Change Plan activates a higher plan with more vCPUs, RAM, and storage.
Change model Resize the existing Droplet after shutting it down. Create a new instance from a snapshot. Change the instance plan from Settings.
Data and filesystem Protect with a fresh snapshot before resizing. Snapshot is the source for the replacement; test the new instance before retiring the old one. Provider documentation says instance data and the file system are not changed.
IP considerations Confirm address behavior in the console and your network design before maintenance. Default public IPv4 changes after stop/start; a static IPv4 can be remapped. Confirm address and migration behavior for the selected plan in the control panel.
Downtime expectation Shutdown and possible migration or reboot. Replacement and traffic cutover; DNS or static-IP work may be required. Possible reboot or migration during the upgrade.

Swap can prevent crashes, but it does not add VPS RAM

A swap file gives the operating system a place to offload inactive memory pages to disk. AWS describes it as room for the operating system to “offload inactive memory to disk.” Because disk is much slower than RAM, swap is a buffer for avoiding abrupt out-of-memory failures, not a substitute for a larger plan.

AWS guidance for Lightsail WordPress instances says swap can help reduce out-of-memory crashes on instances with less than about 1.5 GB of RAM. Its example creates a 650 MB swap file and persists it through /etc/fstab. Those figures are an example from that guidance, not a universal size for every workload.

When swap is useful

  • A small instance experiences occasional memory spikes rather than constant pressure.
  • A deployment, package installation, or backup briefly needs more working space.
  • You need time to recover gracefully instead of having the kernel kill a database or application.

When swap is harmful

If the workload is continuously swapping, response times can become much worse and storage latency can increase. Monitor vmstat and application latency after enabling it. Do not describe a larger swap file as “more RAM” to users or monitoring systems: the VPS’s allocated memory remains unchanged.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

After a successful RAM upgrade, reassess emergency swap and worker limits. Remove or reduce temporary measures only after observing stable memory behavior, and preserve a reasonable safety buffer if the workload still has occasional spikes.

Rank #3
A-Tech Server 32GB Kit (2x16GB) DDR4 2400MHz PC4-19200 ECC UDIMM 2Rx8 Dual Rank 1.2V ECC Unbuffered DIMM 288-Pin Server & Workstation RAM Memory Upgrade Modules (A-Tech Enterprise Series)
  • A-Tech RAM Memory compatible for select DDR4 Server and Workstation systems only; (*WILL NOT WORK with Desktop or Laptop Computers/PCs*)
  • 32GB RAM Kit (2 x 16GB Modules); DDR4 DIMM 288 Pin; Speeds up to 2400MHz PC4-19200 (PC4-2400T)
  • ECC Unbuffered UDIMM; 2Rx8 - Dual Rank x8; JEDEC DDR4 standard 1.2V
  • Improves system performance, workload capacity, and reduces bottlenecks by increasing memory (RAM) resources
  • Note: This memory is ECC Unbuffered and cannot be mixed with different ECC types such as ECC Registered, ECC Load Reduced, or Non-ECC Unbuffered; (Memory compatibility can vary among different system models and their installed components; please verify compatibility and follow memory channel guidelines to ensure maximum performance)
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

RAM is not the same as storage

An attached block-storage volume increases disk capacity. It does not increase the memory available to processes. DigitalOcean describes volumes as network-attached block storage that can be attached or resized. Use a volume when the problem is full disks, log growth, media files, backups, or database data; resize the compute plan when the problem is exhausted RAM.

Symptom Likely action
free -h shows low available memory, swap activity, or OOM-killer events. Investigate processes and limits, then move to a plan with more RAM if pressure is sustained.
The filesystem is full while memory remains available. Clean up data or attach/resize block storage.
High I/O wait with adequate memory. Investigate storage performance, queries, logs, and disk capacity.
CPU is continuously saturated. Optimize the workload or choose a plan with more vCPUs; extra RAM alone may not help.

Verify the server after the upgrade

  1. Run free -h and compare total memory with the plan specification.
  2. Run vmstat 1 5 and confirm that sustained swapping has stopped or reduced.
  3. Check that all expected services are active and that no unit failed during boot.
  4. Test database connections, migrations, queues, scheduled tasks, uploads, and representative user requests.
  5. Confirm mounts and permissions, especially for attached volumes and application data directories.
  6. Check firewall rules, security groups, listening ports, TLS certificates, and remote administration access.
  7. Verify DNS, static-IP assignments, reverse proxies, and any allowlists that reference the server address.
  8. Review monitoring alerts for memory, CPU, disk, latency, and process restarts.
  9. Keep the pre-change snapshot or backup until the system has passed normal peak traffic.

Common failure modes and fixes

The new RAM is not visible

Confirm that the upgrade completed rather than remaining queued, and check the plan shown in the provider console. If the operating system still reports the old amount, reboot once if the provider requires it, then inspect boot and kernel logs. A container or control-panel limit can also hide host memory from the application.

The application still crashes

Read the kernel and application logs to identify the killed process. Check per-service limits, database connection counts, worker counts, and memory leaks. More RAM will not correct an application that allocates memory without releasing it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The server is reachable by IP but not by hostname

Check whether the provider assigned a new address, then update DNS records, reverse-proxy targets, firewall allowlists, and external integrations. For Lightsail replacement workflows, remap a static IPv4 address when a stable endpoint is required.

The resize caused unexpected disk changes

Some plans couple additional RAM with additional storage. Compare the selected plan’s disk allocation with the previous one, and verify filesystem capacity and mounts before deleting the old snapshot or instance.

Performance is worse after enabling swap

Use vmstat to confirm active swapping. If swap-in and swap-out remain high, reduce memory demand or resize the plan; do not keep increasing swap while the application is constantly paging.

A practical decision checklist

  • Is memory consistently low during real peak traffic?
  • Do logs show out-of-memory kills or database termination?
  • Have container, control-panel, runtime, and service limits been checked?
  • Is the actual bottleneck CPU, storage I/O, database configuration, worker limits, or a leak instead?
  • Does the chosen plan provide enough headroom for growth?
  • Is a current snapshot or backup available and tested?
  • Can the application tolerate the expected reboot, migration, or replacement?
  • Will the public IP change, and have DNS or static-IP steps been prepared?
  • Have memory, services, mounts, networking, databases, and monitoring been verified afterward?

Bottom line

Adding RAM to a VPS means upgrading its virtual-machine plan, not attaching storage or installing hardware. Diagnose memory pressure first, back up the instance, choose a plan with headroom, and follow the provider’s resize or snapshot-replacement workflow. Use swap only as a slower emergency buffer, then verify the operating system and every production service before declaring the upgrade complete.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.