On Wed, 12 Nov 2014 15:24:08 +0000 Kagamin via Digitalmars-d <[email protected]> wrote:
> On Wednesday, 12 November 2014 at 12:30:15 UTC, ketmar via > Digitalmars-d wrote: > > this shouldn't fail so soon, right? i'm freeing the memory, > > so... it > > still dying on 1,887,436,800. 1.7GB and that's all? this can't > > be true, > > i have 3GB of free RAM (with 1.2GB used) and 8GB of unused > > swap. and > > yes, it consumed all of the process address space again. > > Maybe you fragmented the heap and don't have 1.7GB of contiguous > memory? i gave two example programs, which demonstrates the effect, and they aren't excerpts. the only allocating `writef` can be removed too, but the effect stays. so heap fragmentation from other allocations can't be the issue.
signature.asc
Description: PGP signature
