bearophile Wrote:
> So can't I can't use all my RAM from my D code? And do you know why?
>
because you use different implementations of malloc. Aggressive allocation make
windows sluggish so it's a good idea to stop allocations before os becomes
unresponsive.
Kagamin:
> because you use different implementations of malloc.
But as you have noticed there's a large difference.
>Aggressive allocation make windows sluggish so it's a good idea to stop
>allocations before os becomes unresponsive.<
So the allocator used by D may be better...
Thank you for
15.11.08 в 00:56 bearophile в своём письме писал(а):
While allocating lot of memory for a little memory-hungry program, I
have found results that I don't understand. So I have written the
following test programs. Maybe someone can give me some information on
the matter.
I am using a default
Reply to bearophile,
While allocating lot of memory for a little memory-hungry program, I
have found results that I don't understand. So I have written the
following test programs. Maybe someone can give me some information on
the matter.
I am using a default install of a 32 bit Win XP with 2 G
bearophile wrote:
While allocating lot of memory for a little memory-hungry program, I have found
results that I don't understand. So I have written the following test programs.
Maybe someone can give me some information on the matter.
I am using a default install of a 32 bit Win XP with 2 GB R
bearophile Wrote:
> So the allocator used by D may be better...
>
who knows...
I encountered an odd error while using template, it reduced to this... and I
was wondering whats going on.
//Regex.d(20): Error: need 'this' to access member x
module templating;
import tango.io.Stdout;
public class TemplatedClass
{
const char[] pattern;
public this(char[] patt
BCS:
> IIRC without special work, 32bit windows apps can't use more than 2GB of
> total address space regardless of how much ram you have.
If you notice the numbers I have shown relative to D (single allocation or many
smaller blocks) aren't much close to the 2 GB limit (I haven't tried to raise