Board index » cppbuilder » Memory Allocation Problems with Builder

Memory Allocation Problems with Builder


2005-08-27 05:28:08 AM
cppbuilder87
I am trying to write a program that allocates a huge chunk of
RAM for data storage. I have 2GB of RAM available but I am only
able to allocate about 800MB using Builder Professional 6.0. No
other applications, other than builder, were running. A friend
of mine wrote a program with MS Visual C++ and was able to
allocate nearly 1.8GB of available RAM on the same computer.
This appears to be a Borland Builder limitation. Does anyone
know how to overcome this limitation? I used calloc to allocate
the memory.
 
 

Re:Memory Allocation Problems with Builder

This is the THIRD newsgroup in which that question is posted.
Look in the other newsgroups where it is posted to see many answers and
discussion on the subject.
Also read the newsgroup guidelines.
info.borland.com/newsgroups/guide.html
. Ed
Quote
Jeff wrote in message
news:430f8968$ XXXX@XXXXX.COM ...

I am trying to write a program that allocates a huge chunk of
RAM for data storage. I have 2GB of RAM available but I am only
able to allocate about 800MB using Builder Professional 6.0. No
other applications, other than builder, were running. A friend
of mine wrote a program with MS Visual C++ and was able to
allocate nearly 1.8GB of available RAM on the same computer.
This appears to be a Borland Builder limitation. Does anyone
know how to overcome this limitation? I used calloc to allocate
the memory.
 

Re:Memory Allocation Problems with Builder

"Ed Mulroy" < XXXX@XXXXX.COM >wrote:
Quote
This is the THIRD newsgroup in which that question is posted.

Look in the other newsgroups where it is posted to see many answers and
discussion on the subject.

Also read the newsgroup guidelines.
info.borland.com/newsgroups/guide.html

. Ed

>Jeff wrote in message
>news:430f8968$ XXXX@XXXXX.COM ...
>
>I am trying to write a program that allocates a huge chunk of
>RAM for data storage. I have 2GB of RAM available but I am only
>able to allocate about 800MB using Builder Professional 6.0. No
>other applications, other than builder, were running. A friend
>of mine wrote a program with MS Visual C++ and was able to
>allocate nearly 1.8GB of available RAM on the same computer.
>This appears to be a Borland Builder limitation. Does anyone
>know how to overcome this limitation? I used calloc to allocate
>the memory.


Sorry Ed,
We are new to the newsgroup forum and we dove right in without
reading the guidelines. I know its not an excuse, but we were
desperately in need of assistance. Thanks to all who
responded, our problems have been solved!! I really appreciate
all the expert programmers' assistance we received that
extended our knowledge of building Builder Apps. Again,
we are sorry about not reading the guidelines first and, next
time, we will follow them closely.
Thanks again for the valuable assistance in solving our
problem, Jeff
 

{smallsort}