Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: memory allocation

16 Jan 2015   #1

windows 7 64bit
memory allocation

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.


My System SpecsSystem Spec
16 Jan 2015   #2

Windows 7 Pro 64 bit

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 System SpecsSystem Spec
16 Jan 2015   #3

Windows 7 Ultimate 64-bit, Windows 8.1 64-bit, Mac OS X 10.10, Linux Mint 17, Windows 10 Pro TP

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 System SpecsSystem Spec

16 Jan 2015   #4

windows 7 64bit
memory allocation

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.

My System SpecsSystem Spec

 memory allocation

Thread Tools

Similar help and support threads
Thread Forum
Memory Allocation problem
Hi all, my pc has 8 GByte Ram but when i try to allocate 128 megabyte contiguous memory in a driver has a difficulty. It succeeds after 4 or 5 restarts? Why this? I have a lot of memory available.
General Discussion
Help: Allocation of memory from Drive D to C
Ok, so I have a laptop that has around 750GB of space on it but it is split into two parts: 250GB: Drive D 500GB: Drive C I'm running out of space on drive C and I would like to extend the space on drive C from drive D seeing as drive D is completely empty. I have no idea on what I'm...
General Discussion
XP Mode VM Memory Allocation recommendation?
I'm using Win7 Pro x64 running on an i7-2600K @ 3.5GHz with 16GB @ 1600MHz with an Intel X25-M 160GB SSD (or in other words a fast machine with a fast hard drive with heaps 'o memory. Having so much main memory (which is cheap these days so why not) I've got no paging file at all, which I...
New RAM memory allocation. Usable Ram Less than installed. Help
Hi everyone, As the title suggest I just upgraded my RAM memory. Specifically, I bought a Corsair XMS2 DHX TwinX 4GB package. This include double 2 GB corsair RAM. Just this afternoon I installed the Rams after purchase. I previously had 2 A-Data 1GB ram(totaling 2GB) but as I'm a gamer the...
Hardware & Devices
RAM Allocation
I have 6GB RAM but the task manager only shows around 2GB being used even when doing heavy duty tasks such as video file conversion. Is there a tweak to ensure the RAM is fully utilized? Dell Inspiron 580s Intel Quad Core i5 2.66GHz, 8MB 6144MB DDR3 Dual Channel 1GB ATI Radeon HD 5450 1TB...
Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:26.
Twitter Facebook Google+