Re: Non contiguous Virtual Memory

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

From: pawan (pawan_at_discussions.microsoft.com)
Date: 12/02/04


Date: Wed, 1 Dec 2004 22:19:03 -0800

Actually a number of process's are going to attach to this memory and share
the information (do some modifications or just access the data). The
Question is how the process which wants to attach to this memory will come to
know which part of the section to map in its memory? As tracking the
information of every bit data is very tedious job. And also it will impact
the performance as each time the process wants some information exists in
shared memory it need to attach, get the information and again detach from
the shared memory.
I also tried with the /3GB switch, but it did not help me , as some of the
ssytem dll's are getting loaded just under the 2GB boundry. Even though the
2GB to 3GB virtual memory is free, Still it can not satisfy my request (1.5
GB).
If there is a way by which I can hint the system dlls about the free 2GB to
3GB memory range so that those dll's can get loaded in that part of memory .
I can get the free virtual space which I am looking for.

"Ivan Brugiolo [MSFT]" wrote:

> Why cannot you create a section backed by the paging file
> and map small views of the section in your address space ?
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
> Use of any included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
>
> "pawan1604" <pawan1604@discussions.microsoft.com> wrote in message
> news:DF276ED7-69EF-430F-9063-0F68C97F806E@microsoft.com...
> > Hi,
> > I am working on a project. where I want to create the file Mapping of 1.5
> > GB. But due to badly fragmented process virtual memory (many system dll's
> and
> > third party dll's are getting loaded at random address in the process
> virtual
> > memory), I am not able to do so, as in Windows shared memory can only be
> > created contiguously (if i am not wrong).
> > Can any body help me, how I can create a 1.5 GB file mapping in this case?
> >
> > thanks,
> > pawan.
>
>
>



Relevant Pages

  • Unable to boot with SiS ATA chipsets (Re: Unable to boot on ECS K7S5A)
    ... has SiS vendor ID as an ATA controller. ... avail memory = 239845376 ... device_attach: ata0 attach returned 6 ... miibus0: on dc0 ...
    (freebsd-current)
  • Re: Non contiguous Virtual Memory
    ... > Question is how the process which wants to attach to this memory will come to ... > shared memory it need to attach, get the information and again detach from ... > I can get the free virtual space which I am looking for. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Non contiguous Virtual Memory
    ... then, in at most 8 Map-View operation, you can map 4 Gig of a shared ... There is no need to attach or detach from the shared memory. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: one more ACPI Error (utglobal-0125): Unknown exception code: 0xFFFFFFEA [Re: 2.6.18-rc4&
    ... Perhaps the motherboard device needs to attach to more device types? ... I am adding memory to the ... Make ACPI motherboard driver not attach to devices/handles it dosen't expect. ... Fix a bug where the motherboard driver attached to hot-add memory event and ...
    (Linux-Kernel)
  • Re: How to put comment on HPUserEdit
    ... plus a slight run-time overhead, ... One can also attach "tags" to some objects, ... I also wasted memory by posting some of my programs ...
    (comp.sys.hp48)