Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Maximum size of data segment: (4 Items)
   
Maximum size of data segment  
I wrote a test program that does malloc of 1K until it's running out of memory.

On a 2G machine with 1.8 gig free, it allocates up to 1G.

On a 3G machine with 2.1 gig free, it allocates up to 720Megs.

On a 3G machine with 2.6 Gig, it allocates up to 1G.

Explanation please?
Re: Maximum size of data segment  
Ping?

> 
> I wrote a test program that does malloc of 1K until it's running out of memory
> .
> 
> On a 2G machine with 1.8 gig free, it allocates up to 1G.
> 
> On a 3G machine with 2.1 gig free, it allocates up to 720Megs.
> 
> On a 3G machine with 2.6 Gig, it allocates up to 1G.
> 
> Explanation please?


Re: Maximum size of data segment  
Under 4.25 the segments sizes possible are 64k and 1gig.  I'm not sure why one of your computers couldn't allocate up to
 the same potential as the other two.  It's hard to really know based on the information provided.
-Adam
Re: Maximum size of data segment  
> Under 4.25 the segments sizes possible are 64k and 1gig.  I'm not sure why one
>  of your computers couldn't allocate up to the same potential as the other two
> .  It's hard to really know based on the information provided.
> -Adam


Hey hi Adam long time no heard from you.

What kind of information would be required to figure that one out.