Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Memory Warning
#2
For today's 64-bit systems, it's hard to tell how much memory is available for a program.

For starters, there's your RAM.   4GB or 1GB or 25GB or whatever it is...

32-bit OSes had a limit of about 1.5GB of RAM being available for most programs.  (2GB was the actual limit, but then it also has to reserve some space for system junk, so if you ever hit more than the 1.5GB mark, you were pushing the failure limits.)

But as for 64-bit OSes??

The can use the whole system memory....

...and then they start uing the swap file...

...which might have a hard cap to it, or might be "managed by the OS"...

... if it's managed by the OS, then it depends  on how much space the drive has on it, before it ends up completely full...


....  and if you're approaching those type of limits, then you're probably doing something wrong with your code!



Modern systems don't tend to get "Out of Memory" errors like they used to.  Instead, they just get slower and slower and slower as they end up swapping more and more data in and out of those files on the hard drive.

Unless some particular error message pops up for you to deal with, personally I wouldn't worry too much about memory and I'd just let the OS handles things as it needs to.  Wink
Reply


Messages In This Thread
Memory Warning - by Dimster - 06-08-2024, 12:21 PM
RE: Memory Warning - by SMcNeill - 06-08-2024, 01:06 PM
RE: Memory Warning - by Dimster - 06-08-2024, 03:21 PM
RE: Memory Warning - by RhoSigma - 06-08-2024, 04:24 PM
RE: Memory Warning - by Dav - 06-08-2024, 03:49 PM
RE: Memory Warning - by SMcNeill - 06-08-2024, 03:51 PM
RE: Memory Warning - by Dimster - 06-08-2024, 05:21 PM
RE: Memory Warning - by SMcNeill - 06-08-2024, 05:36 PM
RE: Memory Warning - by SMcNeill - 06-08-2024, 08:46 PM
RE: Memory Warning - by luke - 06-09-2024, 05:52 AM
RE: Memory Warning - by Dimster - 06-09-2024, 01:05 PM



Users browsing this thread: 1 Guest(s)