Re: Windows array allocation problem



Dan Nagle wrote:
Hello,

Roy Lewallen wrote:

And, at the moment, I'm not able to even get within 350 MB of the 2 GB boundary. And I don't know why.

IIRC, Windows marks 250 MB at one end, and 100 MB at the other,
as unusable, in order to catch stray C pointers.

If that's true, then it's the answer to my question and the solution to my problem. If I know for sure how much will be unavailable, I can set the maximum allocation accordingly.

Unfortunately, I can't find any reference to this on the web. I've found that the top and bottom 64 kB are reserved, but no mention of larger amounts. Can you point me to a reference where this is explained or discussed?

Thanks,
Roy Lewallen
.



Relevant Pages

  • Re: Real World Flunks (Re: Why is Object Oriented so successful)
    ... AndyW wrote: ... "modeling the real world". ... CADD screen closely matches the object pointers in a typical real- ... I think the fact one has a reference to it ...
    (comp.object)
  • Re: The Java no pointer big fat lie!
    ... > reference types, it wouldn't be a good comparison. ... and what you can't - and there is a big difference in Java to C and C++. ... You cannot change it in the language itself, ... Thus I would distinguish pointers from ...
    (comp.lang.java.programmer)
  • Re: Array comparison
    ... > Deep and recursive. ... the pointers and comparing their referents instead of comparing the ... >> arrays, then I think you also need to argue against assigning arrays. ... semantics (notably, reference counting). ...
    (alt.comp.lang.borland-delphi)
  • Re: Pointers vs References: A Question on Style
    ... >> One good style rule is to never return null, ... Prefer references to pointers unless you need pointers' special ... The edit fields link to the XML via MVC. ... > 'funk', you should pass by reference, and catch errors at compile ...
    (comp.lang.cpp)
  • Re: C# equivalent to a smart pointer???
    ... My understanding is that the use of pointers in C# is strongly ... data sharing functionality similar to that provided by smart pointers in ... innately through the reference type. ... Whether this final action on the object can be done while disposing the ...
    (microsoft.public.dotnet.languages.csharp)