Re: physical storage on disk

Tech-Archive recommends: Fix windows errors by optimizing your registry



I know I can allocate physical memory(RAM) by AWE. That is VirtualAlloc(,,MEM_RESERVE | MEM_PHYSICAL, PAGE_READWRITE,). It allows my application to get RAM that is never swapped by the operating system to or from disk.
The problem is that I need huge memory and I hope my app can run on low memory configuration PC. I just tried to create 4000*30000, 256color bitmap by MSPaint.exe on a 256MB RAM Windows2000 while monitoring the system memory(physical and virtual memory) status by using GlobalMemoryStatus().

When I change the bitmap size from 4000*4000 to 4000*30000, physical memory goes down to almost zero at first, then takes a long long time(60s) to swaping it to pagefile and physical memory goes up to about 10MB.

As I can tolerate a low speed to access disk(pagefile) but can not tolerate a long waiting time, so I hope I can allocate directly virtual memory(disk) as my DIB bitmap buffer by some functions. I don't know how.

William

.



Relevant Pages

  • Re: Steve Jobs demos Macintosh in 1984
    ... Woody wrote: ... Stop annoying the fucking hell out of me, ... For sure not much computer memory had been made in 1948 - but it could ... For sure you got a bit more RAM to use in the Speccy - ...
    (uk.comp.sys.mac)
  • Re: Windows uses 4 GB? Really?
    ... I bought 4 GB of RAM because I thought it would speed up my system a bit. ... Some info that is posted here as reference seems to suggest that it is a Windows issue, but others seem to suggest that it is also a hardware issue. ... "I have install total 4GB memory on my motherboard. ... On a SLI system, since PCI-Ex graphic cards will occupy around 256MB, another 256MB will be occupied after you install a 2nd PCI-Ex graphic card. ...
    (microsoft.public.windowsxp.general)
  • Re: Computer wont boot up after installing new RAM
    ... I even took a look at an old Gigabyte motherboard ... DDR2 memory stick, the notch does not line up. ... "To install the memory module, ... into the motherboard RAM slots. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Random Restarts - Please Help
    ... I upgraded my BIOS a long time ago ... Beginners Guides: Diagnosing Bad Memory ... How to diagnose bad RAM ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Alocated Memory Error (SQLSERVR)
    ... but my understanding is that the MSDE instances are designed to ... and you don't want it grabbing all that RAM. ... running but non ever going about 200mb of memory usage. ... Server 2000 SP4, ...
    (microsoft.public.windows.server.sbs)