---
title: Are you experiencing memory issues on Linux?
description: OpenEdge application memory issues on Linux.
image: https://blog.wss.com/hubfs/Hand%20with%20new%20ram%20data%20for%20computer.jpeg
---

[![OpenEdge Experts - White Star Software](https://blog.wss.com/hs-fs/hubfs/logoWSS_H-2.png?width=600&height=225&name=logoWSS_H-2.png "OpenEdge Experts - White Star Software")](https://blog.wss.com/)

[memory](https://blog.wss.com/tag/memory)

# Are you experiencing memory issues on Linux?

![Mark Bonneville](https://blog.wss.com/hs-fs/hubfs/Mark-Bonneville_NB_900x800.jpg?width=45&name=Mark-Bonneville_NB_900x800.jpg) 

[Mark Bonneville](https://blog.wss.com/author/mark-bonneville)

[Share this blog post on Twitter](https://twitter.com/intent/tweet?text=I+found+this+interesting+blog+post&url=https://blog.wss.com/memory-issues-linux) [Share this blog post on Facebook](http://www.facebook.com/share.php?u=https://blog.wss.com/memory-issues-linux) [Share this blog post on LinkedIn](http://www.linkedin.com/shareArticle?mini=true&url=https://blog.wss.com/memory-issues-linux)

![memory issues Linux](https://blog.wss.com/hubfs/Hand%20with%20new%20ram%20data%20for%20computer.jpeg)

Has your OpenEdge Database Application fallen victim to the [Out Of Memory (OOM) Killer](https://community.progress.com/s/article/What-is-the-OOM-Killer-Out-of-Memory-Killer)? Are you hunting for memory leaks? Use ProTop's "dirty memory" script on Linux to see which processes hold more private memory than others.

## Linux memory, some context

In Unix-like operating systems, the memory used by processes is categorized into four types:

1. Shared\_Clean: This type of memory is shared among multiple processes and contains read-only data that is not modified by any of the processes. The memory is clean, which means that it has not been modified.
2. Shared\_Dirty: Similar to Shared\_clean, this memory is shared among multiple processes but contains data that is modified by at least one of the processes. The memory is considered dirty because it has been modified.
3. Private\_Clean: This type of memory is used exclusively by a single process and contains read-only data that is not modified by the process. The memory is clean, which means that it has not been modified.
4. Private\_Dirty: Similar to Private\_clean, this memory is used exclusively by a single process but contains data that is modified by the process. The memory is considered dirty because it has been modified.

In summary, "Shared" memory is shared between multiple processes, while "Private" memory is used exclusively by a single process. "Clean" memory refers to read-only data that has not been modified, while "Dirty" memory refers to data that has been modified.  "Private" plus "Dirty" is the subject of this post.

## Private\_Dirty memory

This logic reports on non-shared resident memory per process - this is the unique memory burden of that process, also known as "Private\_Dirty". This memory is returned to the system when the process ends.

We want to keep the sum of Private\_Dirty memory plus the sum of all [shared memory](https://docs.progress.com/bundle/openedge-install-117/page/Shared-memory_2.html) low enough to avoid any excuse for the OOM killer to act and bring down any of your OpenEdge processes (like the database!). As a rule of thumb, aim to leave 25%-50% of memory free for other purposes.

This report can also be helpful when looking for memory leaks over time. You can see if you have processes with slow but persistent memory growth by comparing hour-by-hour or day-by-day samples.  Just create a root crontab entry to run this report as frequently as desired then analyze for suspicious changes.

To run this run report (as root from $PROTOP):

sudo bin/dirtymem.sh

## The private dirty report

After you have run the script, look in $PROTOP/rpt for a private\_dirty.rpt\* file(s). Each report is time stamped so it will not be overwritten e.g. private\_dirty.rpt.2023.03.28-10.17.27.

The report lists all processes and the amount of private dirty memory they hold in descending order.  Here's a sample:

![memory issues Linux](https://blog.wss.com/hubfs/image-png-Mar-28-2023-02-52-05-0006-PM.png)

WARNINGS:

1. You will get data for only your processes if you do not run the report as root.
2. It can take several minutes on large systems to parse /proc/\<PID\>/smaps.

Related links:

- [The Progress KBase entry on identifying and troubleshooting memory leaks](https://community.progress.com/s/article/Identifying-and-Troubleshooting-Memory-Leaks)
- [Oracle's:  Troubleshoot (Java) Memory Leaks](https://docs.oracle.com/en/java/javase/18/troubleshoot/troubleshooting-memory-leaks.html)
- See this WSS blog post from Paul Koufalis on memory: [Understanding UNIX Performance Metrics - Part Two](https://blog.wss.com/understandingunixperformance-02-02)

### So, How Much RAM A I Really Using?

Here's the story (YouTube video) behind dirtymem.sh told by the author, Tom Bascom. It provides and excellent introduction to OpenEdge memory usage and how to see it (and understand what you see):

<iframe style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; border: none;" title="How Much RAM Am I Really Using" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" xml="lang" src="https://www.youtube.com/embed/MKreR1qjwNY?start=1279&amp;feature=oembed" width="200" height="113" frameborder="0" allowfullscreen data-mce-src="https://www.youtube.com/embed/MKreR1qjwNY?start=1279&amp;feature=oembed" data-mce-style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; border: none;"></iframe>

## Conclusion

OpenEdge database application memory issues can be challenging to root out. Use bin/dirtymem.sh to find processes in your OpenEdge environment that are taking up and holding on to too much memory, before the OOM killer kicks in and brings it down!  

 

![Mark Bonneville](https://blog.wss.com/hs-fs/hubfs/Mark-Bonneville_NB_900x800.jpg?width=150&name=Mark-Bonneville_NB_900x800.jpg)

#### Mark Bonneville

[Follow me on LinkedIn](https://www.linkedin.com/in/mark-bonneville-a738b72/)

Mark has been working with Progress since 1989 when he was presented with his first “Progress Test Drive” while working for the US Coast Guard in Washington DC. He knew a good thing when he saw it and joined Progress Technical Support in 1990 where he worked with Adam Backman and other long term proponents of Progress. Since then Mark has swapped back and forth between 4GL development and DBA roles. He has a “penchant for making things work the way they should” and, before joining White Star, enjoyed database and application tuning using ProTop as the Progress DBA Lead at JPMorgan Chase.

### Leave a Comment

## Related Articles

[![](https://blog.wss.com/hubfs/ImagesArticle.png)](https://blog.wss.com/openedgecostgoingup)

[Article](https://blog.wss.com/tag/article)

### [Are You Still on OpenEdge 11? Your Costs are Going UP!](https://blog.wss.com/openedgecostgoingup)

#### I wanted to share a quick note with our readers about Progress's annual maintenance for OpenEdge licenses.

![Paul Koufalis](https://blog.wss.com/hs-fs/hubfs/thumbnail_KOUFALIS_NB_900x800.jpg?width=45&name=thumbnail_KOUFALIS_NB_900x800.jpg) 

[Paul Koufalis](https://blog.wss.com/author/paul-koufalis) 

[Read More](https://blog.wss.com/openedgecostgoingup)

[![](https://blog.wss.com/hubfs/Businessman%20looking%20at%20tablet%20with%20magnifying%20glass%20against%20laptop%20on%20desk%20with%20glasses%20and%20notepad.jpeg)](https://blog.wss.com/schema-area-gotchas)

[Database Internals](https://blog.wss.com/tag/database-internals) [Application Architecture](https://blog.wss.com/tag/application-architecture) [New DBA](https://blog.wss.com/tag/new-dba)

### [Schema Area Gotchas](https://blog.wss.com/schema-area-gotchas)

#### The schema area should not be used to store application data. And, if you are getting ready to dump & load, certain schema attributes require special attention.

![Mark Bonneville](https://blog.wss.com/hs-fs/hubfs/Mark-Bonneville_NB_900x800.jpg?width=45&name=Mark-Bonneville_NB_900x800.jpg) 

[Mark Bonneville](https://blog.wss.com/author/mark-bonneville) 

[Read More](https://blog.wss.com/schema-area-gotchas)

![logoWSS\_H (1)](https://blog.wss.com/hs-fs/hubfs/logoWSS_H%20(1).png?width=2240&height=840&name=logoWSS_H%20(1).png)

[![facebook](https://blog.wss.com/hubfs/Imported%20sitepage%20images/facebook.svg)](https://www.facebook.com/whitestarsoftware/) [![linkedin](https://blog.wss.com/hubfs/Imported%20sitepage%20images/linkedin.svg)](https://www.linkedin.com/company/white-star-software-llc/) [![twitter\_logo\_white\_background](https://blog.wss.com/hs-fs/hubfs/twitter_logo_white_background.png?width=24&height=24&name=twitter_logo_white_background.png)](https://twitter.com/oeDBA)

#### Quick links

- [About us](https://wss.com/about-us)
- [Our blog](https://blog.wss.com/)
- [Support](https://wss.com/progress-openedge-dba-support-with-dbappraise)
- [Consulting](https://wss.com/progress-openedge-consulting)
- [Our publications](https://wss.com/publications)
- [Privacy policy](https://www.iubenda.com/privacy-policy/71755427)
- [Cookie policy](https://www.iubenda.com/privacy-policy/71755427/cookie-policy)

#### Contact us

![](https://blog.wss.com/hs-fs/hubfs/%EF%A1%B9.png?width=18&height=18&name=%EF%A1%B9.png)- +1 833 4PROTOP
![](https://blog.wss.com/hs-fs/hubfs/%EF%83%A0.png?width=18&height=14&name=%EF%83%A0.png)- info@wss.com
![-1](https://blog.wss.com/hs-fs/hubfs/%EF%83%A0-1.png?width=18&height=14&name=%EF%83%A0-1.png)- Contact an expert

Copyright © 2026 White Star Software. All rights reserved - [Website by Falia](https://falia.co/en/)