Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Joe Mario <joe.mario@_delete-this_hp.com>
Subject: Re: swap space unused?
Date: Thu, 01 May 2003 19:03:22 GMT	[thread overview]
Message-ID: <3EB16DFB.27BE06A9@_delete-this_hp.com> (raw)
In-Reply-To: %ndsa.12$K5.6226@mencken.net.nih.gov

Your max memory and virtual memory sizes need to be bumped.
They are set to 4GB which is the limit that you are hitting.

On another note, if you really allocating that much memory,
you might want to be calling mmap() instead of malloc() to
allocate your large chunks of memory.  Using mmap() gives
you lots more control over the allocation/deallocation of
memory, which matters with the sizes you're talking about.

Sourav Bandyopadhyay wrote:
> ...
> I can only malloc ~4GB of space from a C++ program.
> ... 
> 
> I also  have ulimits at
> 
>  ...
> max memory size (kbytes)    4102912
>  ...
> virtual memory (kbytes)     4194304
> 
> Any ideas? Thanks all


      reply	other threads:[~2003-05-01 19:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-01 18:07 swap space unused? Sourav Bandyopadhyay
2003-05-01 19:03 ` Joe Mario [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox