Close critical engineering gaps before year-end. Get expert support in hardware, FPGA or embedded software. Talk to our engineers ▶✕
DRAM banner

Cutting
DDR Cost

Book Memory Audit

Reduce External DDR Dependence in Embedded Products

Memory is now one of the biggest BOM costs and supply risks. DRAM prices nearly doubled in a single quarter this year. Yet in most products we see, the software uses several times more memory than it needs, and that overhead is paid for on every unit built.  

Promwad audits your product and picks the right route for memory optimization: a leaner Linux on less memory, processing where it's cheapest, a different memory part, or an MCU with an RTOS. Where requirements allow, external DDR goes entirely. Each route turns into real savings. 

Our recent case study: 4 GB → 700 MB RAM (50 USD off every unit) →

Where Your Memory Goes

In a typical product, most of the RAM feeds the way the software was built. Five habits do most of the damage: 

icon
Containers for everything

Containerized services may run separate instances of interpreters, libraries and application runtimes, each with its own working memory. 5 containers means 5 copies in RAM and on flash

icon
Python in the hot path

The interpreter and numerical libraries consume runtime memory, while many array operations can create large temporary buffers. Without careful data type selection, a 12-bit sensor value may end up represented as a 64-bit number

icon
A buffer in every module

Components pass each other a copy instead of a reference, so one frame lives in memory several times

icon
Unchecked dynamic allocation

Memory gets allocated and freed nonstop, it fragments, and usage drifts

icon
Raw data, just in case

Everything is stored and shipped unprocessed, which calls for big flash, a wide link and a big server

The Memory Bus is the Real Bottleneck

Every extra copy is a read and a write across the memory bus. The CPU waits for data, the cache keeps getting flushed, and from the outside it looks like weak hardware: high CPU load, heat, throttling. Teams usually answer with a bigger processor and more memory. Fix the data path and you can go the other way: cheaper hardware that runs cooler. 

Data path before and after memory optimization

Before, one frame is copied 4 times on its way out of the device. After, it stays in one shared pool and only the result leaves.  

Sending it to the server moves the bill

Dozens of devices streaming raw data choke the site network. The server runs the same container-and-copy software, so it needs more RAM and storage too. You pay 3 times: for memory in the device, for the link and for the server. Fixing these habits rarely means rewriting the product. Most of the savings sit in the small part of the code that the data flows through, and the audit shows exactly where. 

Why Product Teams Bring Us In

icon

Measured, published result

On a production edge device, we cut RAM from over 4 GB to about 700 MB and moved it to a cheaper module on the same carrier board. The numbers are public.

icon

One team across the stack

Hardware, Linux BSP, MCU/RTOS firmware and GUI engineers work as one team. So we pick the route from your data, and the PCB, BSP and firmware change in step.

icon

Embedded software with budgeted memory

We size buffers up front, avoid copies and extra allocations, and pick data widths from the signal. The same discipline applies on embedded devices, industrial PCs and servers.

icon

Your BOM and lifecycle in view

We check the exact memory part numbers in your BOM against end-of-life notices, prices and lead times. Every change keeps secure updates, rollback and your SBOM in place for the Cyber Resilience Act.

22+
years of experience
500+
completed projects
3M+
devices
100+
highly qualified engineers

Memory Optimization Tech Stack

Area

Technologies

What you get

Memory profiling and audit 

System-level memory footprint profiling: kernel, userspace, GUI, network and DMA buffers; peak load with TLS, OTA and rollback; BOM check against PCN and EOL notices; runtime RAM measured separately from filesystem image size 

The real number your product needs, and the parts that put it at risk 

Lean embedded Linux

Yocto, Buildroot, BusyBox, musl-libc where compatible; containers replaced with native system services 

A smaller image and runtime that fit a smaller memory configuration 

Memory and data path 

Zero-copy networking and storage, shared buffer pools, static allocation, fixed-size memory pools, data types sized to the signal 

Predictable memory use in 24/7 operation and a lighter load on the memory bus 

Compute 

Hot code moved from Python to C/C++, Arm NEON (SSE/AVX on x86), work split across cores, data laid out for better compression 

More processing on the device at lower CPU load and temperature 

RTOS and bare-metal* 

FreeRTOS, Zephyr, bare-metal; MCUs with large on-chip SRAM from STMicroelectronics, NXP (i.MX RT), Renesas (RA) and Espressif (ESP32-P4) 

HMIs, controllers and simple gateways that can run with no external DDR 

Execute-in-place* 

XIP from QSPI or Octal-SPI NOR flash, when code size and NOR cost justify it 

Code runs straight from flash instead of being copied into RAM 

GUI on tight memory 

LVGL with partial rendering*, TouchGFX, Qt, Qt for MCUs; framebuffer, graphics buffers, assets and runtime libraries budgeted against the display interface 

Touch UIs that fit the memory you have 

Hardware

Smaller module or memory configuration, a different memory part, PCB redesign for lower memory density 

Software savings turned into BOM savings 


*Evaluated per product, where applicable. 

Application Areas Where It Pays Off

The best fit is a device with a bounded feature set that shipped on Linux plus external DDR. 

icon

Industrial automation. HMIs, operator panels and compact controllers. With a fixed feature set, an MCU with an RTOS may take over; otherwise a leaner Linux on less memory. For controllers, we review I/O, protocols, timing, diagnostics and updates alongside the memory budget

icon

Industrial connectivity and IIoT. Protocol gateways, serial device servers, telemetry and remote-access gateways. Usually a leaner Linux on a smaller DDR configuration; simple gateways may move to an MCU. For routers and gateways, we profile runtime RAM across network services, vendor drivers, management agents and update paths

icon

ProAV and broadcast control. Control processors, keypads, touch panels and compact IP controllers. We work on the control plane and assess the video path separately

icon

Smart building. Room panels, HVAC and BMS controllers, lighting and access controllers, building automation gateways

icon

Edge sensor and vision devices. Multichannel sensors with cameras, dozens of units per site. A leaner Linux plus on-device processing, with results going over the network instead of raw streams

icon

Instrumentation and energy monitoring. Data loggers, instrument HMIs, telemetry and control units for measurement equipment

icon

Industrial PCs, x86 systems and servers. The same methods on x86: fewer gigabytes per machine and more devices per server

Video encoders and on-device AI keep their DRAM: frame buffers and codecs need it. We can still shrink what the rest of their software uses. 

Four Routes to Less DDR, Chosen After the Audit

The audit shows which route fits your product. Some products combine two. 
 

Route

What changes

Best for

Track record

A. Lean Linux on a smaller memory configuration 

Minimal image, native services instead of containers, zero-copy, static buffers, hot code in C with NEON 

Gateways, edge devices, products with rich networking 

Done: RAM from 4+ GB to ~700 MB, CM4 from 8 GB to 1 GB 

B. Processing where it's cheapest 

Work split between device, gateway and server; results go over the network, raw streams stay local 

Fleets of 20+ devices per site, server-heavy systems 

Done: 50 to 100x less traffic, $3,000 server replaced by a $700 mini-PC 

C. A different memory part or topology 

Lower density, a qualified alternative memory part, an MPU in a SiP package with built-in DRAM, PCB redesign 

Parts with EOL notices or long lead times 

Where applicable 

D. MCU with an RTOS, no external DDR where requirements allow 

FreeRTOS, Zephyr or bare-metal; XIP from NOR flash; LVGL partial rendering 

HMIs, compact controllers, simple gateways 

Where applicable. Related work: FreeRTOS on STM32, touch HMI on STM32H7 

Hybrid: MCU plus Linux 

Real-time tasks on an MCU, GUI and complex logic on Linux 

Products that need both 

Related work: railway communication unit 

 

How We Pick the Route

  • Feature set and protocols 
  • Driver and middleware dependencies 
  • GUI resolution and frame rate 
  • I/O, timing and diagnostics 
  • Network load, TLS and VPN 
  • Updates, rollback and security support 
  • Video or on-device AI 
  • Production volume and remaining product life 

PSRAM, HyperRAM and SiP memory are DRAM too. The BOM check prices and risk-rates them like any DDR part.

dram

What Memory Costs at Your Volume

Memory is now one of the most expensive lines in a BOM. A Raspberry Pi Compute Module 4 with 8 GB RAM and 32 GB eMMC costs $195 in 2026; the 1 GB / 8 GB version costs $66.25. At launch in 2020, they were $90 and $30. 

Every dollar saved on memory repeats on every unit you build: 

 

Savings per device

1,000 devices

10,000 devices

50,000 devices

$10 

$10K 

$100K 

$500K 

$50 

$50K 

$500K 

$2.5M 

$119 

$119K 

$1.19M 

$5.95M 


The server side adds up too. Replacing a $3,000 server with a $700 mini-PC saves about $2,300 per site, or about $230K across 100 sites, at pre-shortage prices. 

How Memory Audit Works

icon
Intro call, 30 to 60 minutes

Platform, volume, software stack, current memory configuration, symptoms: heat, memory pressure, network, server load.

icon
Audit, 2 to 4 weeks, fixed price

Profiling under real load, a review of the architecture and third-party SDKs, a BOM check against EOL notices and current prices.

icon
Report

Actual memory use → achievable minimum → target memory configuration → savings on your volume and server side → RAM and flash budget → proof-of-concept plan for the chosen route → work plan with estimates.

icon
Implementation

In stages, with RAM, flash, CPU load, temperature and traffic measured after each one.


What we need from you: access to a device or test bench, source code or binaries, a description of typical load, production volumes and the current memory cost in your BOM.
 

Book Memory Audit

Our Case Studies

6x less RAM on an edge device, without a board redesign 

Challenge: A sensor-and-camera device ran on a Raspberry Pi CM4 with 8 GB RAM. The software used over 4 GB, the CPU hit 94 °C with data errors, and at 20 to 50 units per site, raw streams of about 24 Mbit/s each plus video choked crowded site networks. 

Solution: A minimal Yocto image, native services instead of Docker containers, zero-copy shared buffers, static allocation, 32- and 16-bit data types, hot code moved to C with Arm NEON, and the analysis moved onto the device. 

Result: About 700 MB of RAM. A CM4 with 1 GB / 8 GB instead of 8 GB / 32 GB, on the same carrier board. 50 to 100x less traffic, CPU at 60 °C or below with full on-device processing. The 256 GB SD card can go (about $50 per unit), and a ~$3,000 server gave way to a ~$700 mini-PC. 

Read the full case study: 6x Less RAM on an Edge Device →

dram case

How We Ensure Quality

Measured at every stage:

icon
Baseline first

RAM, flash, CPU load, temperature and traffic are recorded before we change anything, then after every stage

icon
Peak-load testing

TLS sessions, OTA updates, GUI activity and full deployment density, all at once

icon
Long-run stability

Static allocation means no fragmentation; multi-day runs confirm memory stays flat

icon
Functional regression

Every function is checked against the baseline build before a stage is signed off

icon
Proof before porting

On an MCU route, we validate critical functions on the target MCU before committing to a full port

icon
Lifecycle and compliance

Secure updates, rollback and SBOM stay in place. When hardware changes, we run EMC and thermal checks

Predictable engineering, start to finish:

icon

ISO 9001 defines how we manage and control our design and development processes

icon

ISO/IEC 27001 provides the framework for protecting information throughout the project lifecycle

Trusted by Product Companies and Silicon Vendors

"At Kino-mo, we have developed the 3D Holo-Display, an innovative product which makes it possible to project 3-D images in the air. We turned to Promwad with the task of manufacturing new samples"

Kiryl Chykeyuk
Kiryl Chykeyuk
Founder at Hypervsn (UK)

"Promwad has done a great job of managing their part in our projects. Their main strength is that they offer all the skills we need, such as mechanical design, firmware and software development, PCB layout, and schematic generation."

Neal Hartsough
Director of Sensors, Rapiscan Systems (USA)
clutch badge
the manifest ai badge
designrush badge

goodfirm best company badge
the manifest software badge
clutch champion badge

Find Out How Much Memory Your Product Really Needs

In 2 to 4 weeks, at a fixed price, you get: your product's actual memory use under real load and a staged plan with estimates. You decide on a bigger project after you've seen the numbers.

Tell us about your project

We’ll review it carefully and get back to you with the best technical approach.

All information you share stays private and secure — NDA available upon request.

Prefer direct email?
Write to info@promwad.com

Secured call with our expert in 24h
Secured call with our expert in 24h
Embedded in your team, end-to-end engineering
Embedded in your team, end-to-end engineering
22 years of engineering expertise
500+ projects for OEMs in EU & US
500+ projects for OEMs in EU and US
22 years of engineering expertise
MVP in 8–10 weeks
MVP in 8–10 weeks — predictable delivery
Featured at IBC, Embedded World, MWC
Featured at IBC, Embedded World, MWC

FAQ

Can you remove external DDR from our product entirely?

 

Sometimes. HMIs, compact controllers and simple gateways with a bounded feature set may run on a modern MCU with several megabytes of on-chip RAM. Video, codecs and on-device AI need DRAM. The audit tells you which case yours is.
 

When can an MCU replace a Linux processor to cut memory cost?

 

When the feature set is fixed, the GUI is modest and the network stack is light. An MPU with Linux stays the better fit for rich networking, VPN, complex protocols or video. We compare both against your requirements, BOM and volume.
 

Does moving from Linux to an RTOS reduce DDR cost?

 

It can. Linux usually needs tens to hundreds of megabytes of RAM. An RTOS like FreeRTOS or Zephyr fits in kilobytes to a few megabytes, often in the MCU's on-chip RAM, so the external DDR can go. The trade-off: more of the software stack is built for your product. Products that depend on Linux services can follow a leaner Linux on less memory instead
 

Can we keep Linux and still use less memory?

 

Yes, and for gateways and edge devices it's often the fastest route. A minimal image, native services instead of containers, zero-copy buffers and static allocation shrink runtime RAM without touching the product's features. In our edge-device project, Linux stayed and RAM fell from over 4 GB to about 700 MB.
 

Do we need to redesign the board?

 

Not always. In our edge-device project, software changes alone moved the product to a cheaper module on the same carrier board. Removing DDR or switching the memory part usually means a PCB revision, and our hardware team handles that too.
 

Will we lose features or performance?

 

We record a baseline first and test every stage against it: functions, peak load with TLS and updates, long-run stability. In the edge-device project, the device took over server work and ran cooler.
 

What does the memory audit include, and how long does it take?

 

2 to 4 weeks at a fixed price: profiling under real load, an architecture and SDK review, and a BOM check against EOL notices and prices. You get a report with actual use, the achievable minimum, a target memory configuration, savings on your volume and a plan with estimates.
 

Does this help with the DRAM shortage and DDR3 and DDR4 EOL notices?

 

Yes. Less memory per device means less exposure to price spikes, and a smaller or different part can replace one at end of life. The audit compares DRAM alternatives too: a lower-density or second-source part, or an MCU with on-chip RAM. New memory capacity isn't expected to ease the shortage before 2028, so savings repeat on every unit for years.
 

Does it work for x86 systems and servers?

 

Yes. The same copies, containers and oversized data types cost gigabytes on industrial PCs and servers. We apply the same methods there, with SSE/AVX in place of NEON.
 

What about devices with video?

 

Frame buffers and codecs need DRAM, so the DDR stays. We can still cut what the rest of the software uses: the edge device in our case carries a video stream and went from over 4 GB to about 700 MB. For media pipelines, we profile buffer ownership, queue depth and peak memory use, and verify any cut in installed memory on the target hardware.