[Bro-Dev] #574: More exessive memory usage

Bro Tracker bro at tracker.bro-ids.org
Thu Sep 15 16:36:21 PDT 2011

#574: More exessive memory usage
  Reporter:  gregor   |      Owner:
      Type:  Problem  |     Status:  new
  Priority:  High     |  Milestone:  Bro1.6
 Component:  Bro      |    Version:  git/master
Resolution:           |   Keywords:  beta

Comment (by gregor):

 >  I definitely found some leaks running in bare-mode that didn't show up
 >  the default mode because it's related to event handler arguments not
 >  getting unref'd because no handlers are called.  I fixed everything
 >  valgrind showed me so far in `topic/jsiwek/leak-fixes`.  Want to check
 >  that out and see if it helps?

 That's not what causes my problems, because I see them in both normal and
 bare mode. I justed checked that.

 In general the C++ code should always check whether there's an event
 handler for a particular event before allocating val_list for it (both, to
 prevent leaks and to not waste time allocating stuff we never need). If it
 doesn't that's a bug. Do you know which event were causing the problem? We
 should try to fix the problem there too.


Ticket URL: <http://tracker.bro-ids.org/bro/ticket/574#comment:12>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker

More information about the bro-dev mailing list