This question already has answers here:
How do you read directly from physical memory on Windows?
(8 answers)
Closed 9 years ago.
I would like to read from Physical Memory in Windows 7 64 bit in Delphi, Assembly.
How can I read from Physical memory?
Because of virtual memory protection on Windows, you cannot read from physical memory from user space. In order to read from physical memory you need to be executing code in kernel space.
Related
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
What factors determine the maximum amount of physical memory a system can have? I know the operating system and the hardware play a roll. For hardware does it come down to the number of lines in the address bus?
According to this website different versions of Windows 7 have differnet caps on the usable memory, but what I don't get is why they don't corolate with the 32 bit/64 bit version? For example why does Home Premium support up to 16GB and Professional up to 192GB when both are 64 bit?
Is the max the lower of the two: hardware and operating system? For example what would happen if you had a 32bit address bus and put in 8GB of ram and had Windows 7 64bit?
Any 32 bit systems will not recognise anything more than 4GB. You can put whatever you want in it, but you will only get 4GB usable (actually a little less).
Regarding Windows, it is merely a marketing restriction. If Home Premium would support 192GB who would buy Professional?
It like if your Toyota Yarris could do 300 km/h in 10 seconds why would you buy Ferrari? :-)
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Since graphics cards provide large amounts of RAM (0.5GiB to 2GiB) and API access to the GPU is not that difficult with CUDA, Stream and more portable OpenCL I wondered if it is possible to use graphics memory as RAM. Grahics RAM might have a larger latency (from CPU) than real RAM but its definitively faster than HDD so it could be optimal for caching.
Is it possible to access graphics memory directly or at least with a thin memory management layer within own applications (rather than free usable for the OS)? If so, what the the preferred way to do this?
Yes, you can use it as swap memory on Linux. Refer to the link here for more details.
With Linux, it's possible to use it as swap space, or even as RAM disk.
Be warned
It's nice to have fast swap or RAM
disk on your home computer but be
warned, if a binary driver is loaded
for X, it may freeze the whole system
or create graphical glitches. Usually
there is no way to tell the driver how
much memory could be used, so it won't
know the upper limit. However, the
VESA driver can be used because it
provides the possibility to set the
video RAM size.
So, Direct Rendering or fast swap.
Your choice.
Unlike motherboard RAM and hard
drives, there aren't any known video
cards that have ECC memory. This may
not be a big deal for graphics
rendering, but you definitely don't
want to put critical data in it or use
this feature on servers.
This question already has answers here:
iPhone Data Usage Tracking/Monitoring
(7 answers)
Closed 9 years ago.
I am trying to understand how does an app like DataMan work. Even if it runs on the background, how can it measure the bandwidth allocation of the other apps?
Most apps like that inject a proxy to all your data calls. Through that they measure the amount of bandwidth you are consuming.
There is no way to measure data you are using outside of your app. You can track it for your own network call within your app though.
This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
how to get motherboard id or serial number ?[Delphi]
Is there any free component to get the motherboard serial number in Delphi?
If you absolutely need a component : MagWMI component allows access and update of windows system information using Windows Management Instrumentation(WMI)
If you are looking for a free Delphi WMI library, have a look at GLibWMI project by StackOverflow user NeftalĂ
This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
What and where are the stack and heap
Where is heap memory and stack memory stored?I mean where on the harddisk?what are the limits of their size?
You should consider memory and hard-disk as opposites.
Memory is the more expensive stuff that comes in sticks and is 1000x faster than hard disk.
I don't think you'll be able to "find" the heap and stack memory the way you want to. The OS sets this up by assigning some range of memory for each ( like 0x682CFF00 - 0x681CFF00 ).
Perhaps this discussion will help What and where are the stack and heap?