<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR> <BR>I have 4 gig of RAM and when I allocate 3 gig the <top> utilities show that my application is using 87% of the available RAM, so it's a half a gig more, why? The application is not doing any disk access. <BR>
 <BR>
I just do a couple of malloc and the same amount of free at exit. I count all malloc by incrementing a "m" variable and I decrement the same "m" variable when doing free and at the program exit I display the value of "m" and it is zero. I stop doing malloc when my "m" variable reach 3 gigabytes so I am sure I allocate only 3 gigabytes so why my application is using 87% of all available RAM?<BR> <BR>Benoit<BR><br /><hr /> <a href='' target='_new'></a></body>
</html>