Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 007f1b59e05e225c910b4e177091aaa78085dbfe
Ticket: 1913398fffffffffffffffffffffffffffffffff
Dumping to File is Leaking Memory?
User & Date: ctasada on 2008-03-14 00:21:45
Changes

  1. icomment:
    
    
    File Added - 270307: memleak.tcl
    
    Logged In: YES 
    user_id=340696
    Originator: YES
    
    Hi Andreas,
    
    Just added a "package require platform" and an update in the loop so I can see the progress in wish.
    
    Regarding the 3 cycles, as you can see seems that only "leaks" in the first dbsave, after that seems stable. Anyway I'm still working to find a simple test for the next problem that I've, that seems related with this one somehow.
    
    The other problem, in the real application, is that when a user connects to the server, the next dbsave consumes a bit more than 1 MB extra and 2 MB extra in VM. The connection process uses a socket and a thread. But I'm still trying to simplify the whole system to something small enough that can be tested and reproduced, and discard any bug in my code.
    
    Anyway I would appreciate if the behavior that we see in this script is normal or not.
    
    Thanks.
    File Added: memleak.tcl
    
    
  2. login: "ctasada"
  3. mimetype: "text/plain"
  4. username: "ctasada"