memory allocation  


  1. Posts : 4
    windows 7 64bit
       #1

    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.

    RAC
      My Computer


  2. Posts : 2,497
    Windows 7 Pro 64 bit
       #2

    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


  3. Posts : 1,519
    Windows 7 Ultimate 64-bit, Windows 8.1 64-bit, Mac OS X 10.10, Linux Mint 17, Windows 10 Pro TP
       #3

    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


  4. Posts : 4
    windows 7 64bit
    Thread Starter
       #4

    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.

    Thanks
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 20:41.
Find Us