On Thu, Sep 10, 2009 at 7:22 AM, Dos-Man 64 <[email protected]> wrote:
>
> Daniel, I am trying to determine if memory is segmented or not. If I
> allocate a huge character array using malloc() or new(), does it work
> or do you have to use FAR pointers or something along those lines?

I don't recall the last time I saw a malloc() fail. Of course, that
could be the problem of Linux overcommitting memory, but that's not
really related to what you're talking about.

Wouldn't the best way to get your answer be to try a large malloc()?

You shouldn't have to worry about segmenting unless you're coding in assembly.

~Ryan

-- 
http://rmgraham.blogspot.com
http://twitter.com/rmgraham

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to