Dll crash in simplest case

frame frame86 at live.com
Mon Jan 25 12:12:15 UTC 2021


On Monday, 25 January 2021 at 11:30:45 UTC, Vitalii wrote:

> ---
> Dll is starting ok. But after freeze after printing number 
> around 64000 (~2^16). When I change assoc.array to simple array 
> of double[] it freeze after number around 520000 (~2^19), int[] 
> -- 1.000.000. So I conclude than dll freeze after exceed some 
> memory limit about 4 Mb. But I still can't see what I'm doing 
> wrong. Any ideas?

I'm not an expert but it shouldn't freeze at all. Crashing maybe, 
but not freeze.
Sounds like a problem with the compiler and OS support. A memory 
limit makes not sense here.



More information about the Digitalmars-d-learn mailing list