September 03, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3284

           Summary: snn linked programs never release memory back to the
                    OS
           Product: D
           Version: 1.046
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: dominik@vga.hr


Programs using GC or manual malloc/free never actually release memory back to the OS (Windows), which causes programs with heavy memory allocation / deallocation to utilize page swaps heavily and eventually crash.

This is a blocking issue persistent in 1.047 release also (it was not available in version selection).

You can trivially reproduce this effect by malloc'ing several MB's and subsequently freeing them - watch the process memory usage before and after it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 04, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3284


Vladimir <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow@gmail.com


--- Comment #1 from Vladimir <thecybershadow@gmail.com> 2009-12-03 19:50:59 PST ---
Actually, the garbage collector doesn't use malloc to allocate heap memory (it uses the OS-specific page allocation functions), but it does suffer from the same problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------