|
I need to amend my earlier statement about 32-bit processes under Windows.
While it's not important, historically the process address space was divvied such that the lower 2GB was "user space" and the upper 2GB was "kernel space" (I may have that backward, but either way, it's half and half)
Some apps could be "3GB aware", sometimes run with a command line switch like /3GB to enable it. In that case, the kernel was only mapped to 1GB of the address space. I'm not sure why all apps weren't this way, other than compatibility. An example of a 32 process that could be 3GB aware with a command line switch is the old 32-bit versions of Image Line's FL Studio DAW software.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
For Linux and friends, start with man getrlimit and apropos oom . The whole OOM-killer environment is intriguing, to say the least. I believe it came from the *nix legacy of lots of users timesharing a machine with limited resources, particularly memory. A competitive, rather than cooperative, workload.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
raddevus wrote: So when a developer notices that the app he wrote running on
Presumably this is your real question and seems like it was already answered.
However one somewhat related gotcha with C# (if relevant) is the Large Object Heap. Which means an app can "run out" of memory long before physical/virtual memory is used.
|
|
|
|
|
jschell wrote: C# (if relevant) is the Large Object Heap. Which means an app can "run out" of memory long before physical/virtual memory is used.
Both of the Apps (Services) in question are indeed written in C# and the point you make is highly relevant and I really appreciate you mentioning it. Very helpful.
My question really hasn't been answered.
I am still very curious if a 64 bit app can eat all of the memory on a large server (64GB RAM or something larger).
I'm guessing that it cannot since
1. I believe that any app cannot allocate RAM beyond its address space.
2. This would be a huge security hole since any malicious app could just eat all RAM
Someone mentioned a "leak" but even a leak is bound to the processes address space & once the process has eaten / leaked all that RAM then it would throw the "out of memory" exception.
I'm just not sure if the OS allows address spaces to be much larger than 4GB and if it does what the "default" value would be for each address space on 64 bit Windows OS (Server).
Very difficult thing to find.
I would write an app that eats all the RAM -- and have done that, but the box I have is limited to 8GB or even 16GB and you need more RAM and running the Win Server OS to really determine this.
|
|
|
|
|
Wordle 1,189 4/6
🟩⬜⬜🟨⬜
🟩⬜🟩⬜🟩
🟩⬜🟩🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,189 4/6*
⬜⬜⬜⬜🟩
⬜⬜⬜🟨🟩
🟩⬜⬜⬜🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,189 3/6
⬜🟨⬜🟨🟩
🟩⬜🟩⬜🟩
🟩🟩🟩🟩🟩
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Wordle 1,189 5/6*
⬜⬜🟩🟨🟩
🟩⬜🟩⬜🟩
🟩⬜🟩⬜🟩
🟩⬜🟩⬜🟩
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
⬜⬜⬜⬜🟩
⬜⬜🟩⬜🟨
⬜⬜🟩🟨🟩
🟩⬜🟩⬜🟩
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,189 3/6*
⬜⬜🟨⬜⬜
🟨🟨⬜⬜🟨
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
Wordle 1,189 4/6
⬛⬛🟩⬛🟩
🟩⬛🟩⬛🟩
🟩⬛🟩🟩🟩
🟩🟩🟩🟩🟩
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,189 4/6*
⬛⬛🟩⬛🟩
🟩⬛🟩⬛🟩
🟩⬛🟩🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,189 3/6
⬜⬜🟩⬜🟩
🟩⬜🟩⬜🟩
🟩🟩🟩🟩🟩
Within you lies the power for good - Use it!
|
|
|
|
|
I'm the kind of stuck that doesn't resolve itself to a programming question.
As an adult I used to work with someone I taught coding to back when we were teens, and we'd buddy code, and accomplish things neither one of us could do on our own. We worked really well together.
Eventually he went off to NYC to make obscene amounts of money.
But that's the kind of help I need. This SVG stuff is absolutely kicking my ass.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: off to NYC to make obscene amounts of money
Sorry, can't help you there.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
|
Quote: [...] obscene amounts of money.
honey the codewitch wrote: [...] that's the kind of help I need. Me too.
On the serious side, I strongly doubt the magician would happen again.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Get a rubber duck*?
* Made a typo there once, made for an interesting conversation
|
|
|
|
|
Well it's one of those problems where something has gone dramatically wrong and I don't even know where in the codebase to start looking. It's gotten to the point where I've decided to support TinyVG instead, eventually in addition to SVG
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Sander Rossel wrote: Made a typo there once, made for an interesting conversation
A ... robber duck ?
|
|
|
|
|
Yeah, let's dick to that
|
|
|
|
|
Take a break from it for a while, if you can. Don't know how many times I've been stuck and taken a break and when I came back to it...bam.
|
|
|
|
|
Does anyone know why we have not been getting The Code Project's "Daily News" emails in the past week or so?
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@outlook.com
|
|
|
|
|
Speculation is there's a shake up going on at code project. See further down in the lounge...Chris is leaving.
The Lounge
|
|
|
|
|
Thank you for your update...
I have always enjoyed the Daily News emails. Hopefully, Chris' replacement will take up this aspect of The Code Project's repertoire...
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@outlook.com
|
|
|
|