comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Visual C++ compiler option for >1GB of memory
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Visual C++ compiler option for >1GB of memory [message #29780 is a reply to message #29769] Wed, 13 March 2002 20:25 Go to previous messageGo to previous message
Mark Rivers is currently offline  Mark Rivers
Messages: 49
Registered: February 2000
Member
Martin Downing <martin.downing@ntlworld.com> wrote in message
news:vqKj8.44982$y76.4948562@news6-win.server.ntlworld.com.. .
> Hi Mark,
> You may be referring to a side track we (including you!) had on a thread
> called
> "Large Tiff File Question"
>
http://groups.google.com/groups?hl=en&threadm=e415b359.0 201171218.55c8a2a6%4
> 0posting.google.com&rnum=1
>
> I refereed to 1999 NT documentation I had read on MS that claimed you can
> have larger process sizes based on your choice of operating system,
> from workstation, server, or enterprise edition.
> I wouldn't be surprised if there was now a similar choice for w2K / XP

That thread is not quite what I'm looking for. It implies that IDL should
be able to allocate 2GB under NT 4.0. However, I have machines with 1GB of
RAM and 3GB of virtual memory, but the maximum memory IDL can allocate is
almost exactly 1GB. I know I remember seeing a message that said that
Visual C++ has a compiler or linker switch to control the maximum amount of
heap space that an application can use. The message said that the default
is 1GB, and it can be raised to 2GB.

I want to write a simple C program to test this, seeing if I can malloc()
more than 1GB in a Windows application. If so, then the next step is to
twist RSI's arm to build the next minor release of IDL for Windows with this
switch. In my current application the difference between 1GB and 2GB is
very significant.

The longer-term solution is 64-bit IDL on the Itanium processors and 64-bit
Linux or Windows.

Mark
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Double Accuracy
Next Topic: Any update on OS X

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:07:03 PDT 2025

Total time taken to generate the page: 0.00235 seconds