Notifications
Clear all

RAM Slack?

2 Posts
2 Users
0 Reactions
413 Views
(@tootypegs)
Trusted Member
Joined: 18 years ago
Posts: 80
Topic starter  

hello, i just have a question involving RAM slack. Does anyone know what OS's this occurs on? I thought RAM slack in files only occurred on Windows 95 & 98 systems and then was changed but am i wrong?

thank you


   
Quote
(@spawn)
Eminent Member
Joined: 17 years ago
Posts: 34
 

It could occur on any OS.

The situation is due to the mechanism by which an application/OS manages the memory allocation. Most modern OS's may force the memory allocation to a particular call to be cleared before use BUT it is not unusual for an application not to rely upon the OS to manage the memory but to take control of this process themselves.

There are a number of situation where this might occur but it is entirely at the discretion of the programmer responsible for the application/OS component.

For example

http//msdn.microsoft.com/en-us/library/aa366597(VS.85).aspx
Allocates a block of memory from a heap. The allocated memory is not movable

HEAP_ZERO_MEMORY
0x00000008
The allocated memory will be initialized to zero. Otherwise, the memory is not initialized to zero.

hope it helps


   
ReplyQuote
Share: