Re: how can I allocate memory in address 0x4800 0000 (virtual)



Do you mean you want to allocate some memory in Shared Memory Range?
If you call VirtualAlloc with dwSize >= 2 MB, flAllocationType set to
MEM_RESERVE, and flProtect set to PAGE_NOACCESS, it automatically reserves
memory at the shared memory region. This preserves per-process virtual
memory.


<yuanfei.work@xxxxxxxxx>
???????:1167127457.777869.137920@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
It looks malloc did not allocate memory in that adressrange.

thanks



.



Relevant Pages

  • [HPADM] RE: SHMMAX modification
    ... The problem is that you are using a 32bit version of Oracle ... will allow access to as much as 1750 megs of shared memory. ... the kernel maintains a map relating the virtual ...
    (HP-UX-Admin)
  • Re: OpenOffice does not start when Firefox open
    ... openings and closings of OO so I don't think it's a memory leak) ... you're left with this small sliver dividing up the remaining space. ... able to allocate a total amount of shared memory that is more than the ...
    (comp.os.os2.apps)
  • Re: Windows XP Shared memory woes
    ... What is shared memory? ... One of them is 3 gig in size. ... Using process explorer, and several of my own breadcrumbs, I find that I ...
    (microsoft.public.dotnet.framework.performance)
  • Re: Next Generation of Language
    ... The issue that counts, really, is what the programming model is at the ... Such machines are quite common, ... Non Uniform Memory Access simply means different memories have ... which provided the programmer with the illusion of a shared memory. ...
    (comp.lang.lisp)
  • Re: CreateFileMapping & MapViewOfFile
    ... >I has been many moons since I have been a hardcore Win32 developer, ... I wrote a shared memory library for use with porting ... >was passed to CreateFileMapping()? ...
    (microsoft.public.win32.programmer.kernel)