memory allocation

rac8006

New member
Local time
11:33 PM
Messages
4
Trying to find a utility or C++ procedure that will allow me to allocate a specific physical memory address. I seem to have a problem with a certain memory range on my mother board. I have 4 2GB memory modules and all the modules test OK when used two at a time. When I use all four I get memory errors. I would like to some how allocate the range of memory that has the errors so it can't be used.

RAC
 

My Computer

OS
windows 7 64bit
You need to find some other solution to your problem. Allocating a specific range of physical memory to prevent it's use is NOT a viable option.

The issue is that when a program allocates memory it is really making the allocation within it's own private virtual address space. The system memory manager then maps this address space to physical memory as needed. At no time does the program have any control over or even knowledge of the physical memory addresses it is using.

In theory code running in kernel mode (a device driver) could do this but by the time it was able to run the address range or portion thereof may already be in use. I wouldn't consider this as a viable solution.

If you posted your full system specs it would help others to help with your problem.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
If the modules work fine/test fine in pairs it might be the sockets/slots on the motherboard at fault, have seen it happen. We haven't sufficient information but a guess would be the possibility the 4 modules or pairs of modules don't work with each other. I try to stay with the same brand and type of modules when buying or upgrading.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Customs, Dell, Gateway, HP, Toshiba, Acer, ASUS
OS
Windows 7 Ultimate 64-bit, Windows 8.1 64-bit, Mac OS X 10.10, Linux Mint 17, Windows 10 Pro TP
Keyboard
Microsoft
Mouse
Microsoft
The problem is in the range of memory above 4GB. I can put 2 modules of memory in any of the two slots and they work fine. Its only when all four modules are installed does it fail. Leads me to believe it is a memory address line above 4GB. The system will run for a day or two before any errors show up.
All 4 modules are from the same manufacturer.

I was not thinking of a program to allocate the memory. But a small device driver. Just need to know the procedure call to allocate the physical address.

Thanks
 

My Computer

OS
windows 7 64bit
Back
Top