F5F Stay Refreshed Software Operating Systems Comparing RAM managers for Windows, Linux, and possibly macOS.

Comparing RAM managers for Windows, Linux, and possibly macOS.

Comparing RAM managers for Windows, Linux, and possibly macOS.

A
ADIR_4444
Senior Member
417
11-06-2016, 12:49 PM
#1
Earlier I discovered that certain Linux applications consume less memory compared to Windows. I want to understand why Linux RAM management differs so much from Windows, and how developers can optimize memory usage. I’m not sure if Linux uses shared libraries or memory differently, but I see some differences in RAM consumption—like 8 GB on Windows versus 4 GB on Linux without modifications. Cities Skylines, Ark: The Legacy, and other titles show varying performance. Please share your thoughts or advice on improving memory efficiency.
A
ADIR_4444
11-06-2016, 12:49 PM #1

Earlier I discovered that certain Linux applications consume less memory compared to Windows. I want to understand why Linux RAM management differs so much from Windows, and how developers can optimize memory usage. I’m not sure if Linux uses shared libraries or memory differently, but I see some differences in RAM consumption—like 8 GB on Windows versus 4 GB on Linux without modifications. Cities Skylines, Ark: The Legacy, and other titles show varying performance. Please share your thoughts or advice on improving memory efficiency.

I
114
11-07-2016, 01:56 PM
#2
The OS memory manager doesn't control an app's memory consumption. It mainly handles swapping data between swap and RAM, managing unused space and other operations. The memory usage you observe depends on the app in question. It varies based on factors like the loaded map or game stage, and differences may appear when comparing tools such as Task Manager versus System Monitor. Check the details tab in Task Manager and adjust visibility settings to see accurate comparisons.

For example, opening Firefox on a Windows laptop showed about 320 MB usage, while Linux reported around 404 MB. This discrepancy highlights the need to account for hardware differences and background processes when making direct comparisons.
I
ItsVintageBeef
11-07-2016, 01:56 PM #2

The OS memory manager doesn't control an app's memory consumption. It mainly handles swapping data between swap and RAM, managing unused space and other operations. The memory usage you observe depends on the app in question. It varies based on factors like the loaded map or game stage, and differences may appear when comparing tools such as Task Manager versus System Monitor. Check the details tab in Task Manager and adjust visibility settings to see accurate comparisons.

For example, opening Firefox on a Windows laptop showed about 320 MB usage, while Linux reported around 404 MB. This discrepancy highlights the need to account for hardware differences and background processes when making direct comparisons.

K
Kaldeo
Member
226
11-07-2016, 04:55 PM
#3
Same software built for two different systems require varying memory when launching. Cities Skylines needs about 4 gigabytes on Windows, but around 8 gigabytes on Linux. It seems Linux likely has methods to manage memory better, though I’m not entirely sure if Windows uses shared libraries that increase its RAM demand.
K
Kaldeo
11-07-2016, 04:55 PM #3

Same software built for two different systems require varying memory when launching. Cities Skylines needs about 4 gigabytes on Windows, but around 8 gigabytes on Linux. It seems Linux likely has methods to manage memory better, though I’m not entirely sure if Windows uses shared libraries that increase its RAM demand.

B
blakpanda
Member
57
11-07-2016, 08:36 PM
#4
32 bit versus 64 bit differences are usually around 30%, not a full 100%. Linux and Windows both have shared memory features, but the variations aren't that drastic. I don’t have access to Cities Skyline for testing, but such a large discrepancy likely stems from higher-level OS optimizations.
B
blakpanda
11-07-2016, 08:36 PM #4

32 bit versus 64 bit differences are usually around 30%, not a full 100%. Linux and Windows both have shared memory features, but the variations aren't that drastic. I don’t have access to Cities Skyline for testing, but such a large discrepancy likely stems from higher-level OS optimizations.

J
JJAwesome8078
Member
156
11-09-2016, 08:35 AM
#5
The operating system mainly supplies memory to programs, and both Linux and Windows do this well. Cities skylines likely uses Unity, though the exact details might vary—different libraries exist on each platform, and possibly some unusual Unity behavior is causing issues.
J
JJAwesome8078
11-09-2016, 08:35 AM #5

The operating system mainly supplies memory to programs, and both Linux and Windows do this well. Cities skylines likely uses Unity, though the exact details might vary—different libraries exist on each platform, and possibly some unusual Unity behavior is causing issues.