Click here to Skip to main content
15,901,426 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Memory Utilization Pin
theoldfool28-Jan-19 11:05
professionaltheoldfool28-Jan-19 11:05 
GeneralRe: Memory Utilization Pin
Rage28-Jan-19 20:37
professionalRage28-Jan-19 20:37 
GeneralRe: Memory Utilization Pin
Mark_Wallace28-Jan-19 20:08
Mark_Wallace28-Jan-19 20:08 
GeneralRe: Memory Utilization Pin
Rage28-Jan-19 20:39
professionalRage28-Jan-19 20:39 
GeneralRe: Memory Utilization Pin
John Torjo28-Jan-19 21:17
professionalJohn Torjo28-Jan-19 21:17 
GeneralRe: Memory Utilization Pin
Stuart Dootson28-Jan-19 22:53
professionalStuart Dootson28-Jan-19 22:53 
GeneralRe: Memory Utilization Pin
obermd29-Jan-19 5:44
obermd29-Jan-19 5:44 
GeneralRe: Memory Utilization Pin
kalberts29-Jan-19 1:39
kalberts29-Jan-19 1:39 
Your point is valid, and it sure is a problem that kids of today never learned the RAM equivalent of the big-O of algorithms

Yet it is easy to be misled by too quick observations. If you map a 2 GByte file into RAM, you haveessentially set up 500K page table entries, without bringing any of it into physical RAM. In many cases, just a tiny little fraction of it will ever get into RAM before the application terminates. Checking my RAM use right now, there is slightly above 6 GB "In use", green color in the resource monitor, which means that is any process needs RAM, nothing needs to be paged out - the other process can take over those pages without any fuzz. A mere 35 MB is currently "Modified" and needs to be saved to backing storage before another process takes over. 1.9 MB is in "Standby" - the last user of those pages are no longer using them, but they are frequently used segments, so chances are that another process soon may ask for (parts of) it to be "loaded", which is a null operation of the pages are still in memory.

Of course there are cases of software that really needs huge amounts of data space - FEM and huge matrix models (read: weather forecasting) are the classical ones. I am currently testing out Coverity (a code analysis tool) that builds a complete flow graph of a million lines of source code; that fills some space.

And then there are those that really shouldn't need more than a handful of MB, but requires a few hundred. Or a couple GB. Yet, if it requires a GB during startup, and then that memory is paged out (which is a null operation for code segments), leaving a working set of a dozen MB for continued running, it won't slow down your other programs very much.

Only if it actually addresses RAM "all over the place", continously maintaining a huge working set, is there something to worry about. Some programs are that way. But lots of users are screaming out because they see huge numbers, without understanding what the numbers represent.
GeneralRe: Memory Utilization Pin
DerekT-P29-Jan-19 1:56
professionalDerekT-P29-Jan-19 1:56 
GeneralRe: Memory Utilization Pin
Gary Wheeler29-Jan-19 7:15
Gary Wheeler29-Jan-19 7:15 
GeneralRe: Memory Utilization Pin
Steven121829-Jan-19 10:26
professionalSteven121829-Jan-19 10:26 
GeneralRe: Memory Utilization Pin
Gerry Schmitz29-Jan-19 14:17
mveGerry Schmitz29-Jan-19 14:17 
GeneralRe: Memory Utilization Pin
jschell2-Feb-19 5:09
jschell2-Feb-19 5:09 
GeneralThought of the Day Pin
OriginalGriff28-Jan-19 4:57
mveOriginalGriff28-Jan-19 4:57 
QuestionRe: Thought of the Day Pin
megaadam28-Jan-19 5:17
professionalmegaadam28-Jan-19 5:17 
AnswerRe: Thought of the Day Pin
OriginalGriff28-Jan-19 5:19
mveOriginalGriff28-Jan-19 5:19 
GeneralRe: Thought of the Day Pin
megaadam28-Jan-19 5:32
professionalmegaadam28-Jan-19 5:32 
GeneralRe: Thought of the Day Pin
OriginalGriff28-Jan-19 5:35
mveOriginalGriff28-Jan-19 5:35 
GeneralRe: Thought of the Day Pin
DRHuff28-Jan-19 10:16
DRHuff28-Jan-19 10:16 
GeneralRe: Thought of the Day Pin
lopatir28-Jan-19 5:18
lopatir28-Jan-19 5:18 
GeneralRe: Thought of the Day Pin
PeejayAdams28-Jan-19 5:29
PeejayAdams28-Jan-19 5:29 
GeneralRe: Thought of the Day Pin
W Balboos, GHB28-Jan-19 5:57
W Balboos, GHB28-Jan-19 5:57 
Generalffmpeg & Lame encoders Pin
Nand3228-Jan-19 4:05
Nand3228-Jan-19 4:05 
GeneralRe: ffmpeg & Lame encoders Pin
megaadam28-Jan-19 4:13
professionalmegaadam28-Jan-19 4:13 
GeneralRe: ffmpeg & Lame encoders Pin
User 842028-Jan-19 4:16
User 842028-Jan-19 4:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   507 votes