- Memory leak bug report

From: Oberon microsystems AG, Tech-Support <"Oberon>
Date: Sat, 12 May 2007 14:03:44 +0200


Dear Сергей Губанов, Alexander Iljin, Chris Burrows,
 
thank you very much for the problem report and the help to localize the problem. We are currently looking into ways to improve the heuristic when Collect is called in the Kernel.
 
with best regards,
Marc
 
Oberon microsystems AG
www.oberon.ch
+41 (0)44 445 17 51


  _____

From: blackbox{([at]})nowhere.xy
Sent: Donnerstag, 10. Mai 2007 19:29
To: Blackbox
Subject: [BlackBox] - Memory leak bug report


A memory leak simple example (BlackBox 1.6).
 
DevLinker.LinkExe MemoryLeak.exe := Kernel+ Files HostFiles Dialog Math Strings Stores TestExe
 
MODULE TestExe;

  IMPORT Files, Stores, WinApi;

  PROCEDURE Do;
    VAR file: Files.File;
    wr: Stores.Writer;
    res: INTEGER;
  BEGIN
    file := Files.dir.New(Files.dir.This(""), FALSE);
    wr.ConnectTo(file);
    wr.WriteString ("Hello World!");
    file.Register("tmp", "txt", FALSE, res)
  END Do;

BEGIN
  LOOP
    Do;
    WinApi.Sleep(50)
  END
END TestExe.
 
Run the MemoryLeak.exe programm and watch to Windows Task Manager about 10 - 20 minutes later...






Received on Sat May 12 2007 - 14:03:44 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:36 UTC