Two more changes to brat committed today

From: Alv Kjetil Holme (a.k.holme@fys.uio.no)
Date: Mon May 01 2000 - 22:40:24 EDT

  • Next message: Djamel Ouerdane: "BrMagnetVolume"

    Hi,
    
      I have made the following changes today to fix the problem that monitor
    program hangs after a while.
    
      BrRawDataInput.cxx
        In Event the fBatchNumber is incremented only when we get a good event.
        The old code sent too many requests for raw data to the event 
        dispatcher, filled up the Send-Q, and hung the monitor program.
    
        In BuildEvent the recordlist is deleted at the end of the routine.
        (memory leak)
    
      BrSuperMonitor.cxx
        In BuildEventList the raw_event is deleted when the event is bad.
        (memory leak)
    
      I tested the changes by running the TOFW monitor for about one hour,
    collecting 150000 events, with no hang. The memory size (given by top)
    was constant at 68 MB.
    
      -Alv Kjetil
    



    This archive was generated by hypermail 2b29 : Mon May 01 2000 - 22:43:20 EDT