#30: Insane RAM usage
-----------------------------------------------+----------------------------
  Reporter:  Gilou <[EMAIL PROTECTED]>  |       Owner:  admin          
      Type:  Bugs                              |      Status:  new            
  Priority:  1                                 |   Milestone:                 
 Component:  Liquidsoap                        |     Version:  0.3.3          
Resolution:                                    |    Keywords:  RAM leak 64bits
-----------------------------------------------+----------------------------
Changes (by toots):

  * owner:  => admin
  * component:  None => Liquidsoap

Comment:

 Ok folks, I've had some niiiice time hacking on src/Makefile, and I can
 now give you a list of culprits:
 {{{
         operators/switch.ml operators/fade.ml operators/add.ml \
         operators/rewrite_metadata.ml operators/on_metadata.ml \
         operators/store_metadata.ml operators/on_track.ml \
         operators/insert_metadata.ml operators/id.ml \
         operators/delay.ml operators/setvol.ml \
         operators/normalize.ml operators/echo.ml \
         operators/prepend.ml operators/append.ml operators/accel.ml \
         operators/noblank.ml operators/compand.ml \
         operators/sequence.ml operators/cross.ml operators/smartcross.ml \
         operators/mixing_table.ml operators/filter.ml \
         operators/mean.ml operators/swap.ml \
         operators/pan.ml \
 }}}

 If you remove all those operators from the Makefile, then it works, and if
 you enable one of those, it fails.

 Now the tricky thing:
 You can also remove this:
 {{{
         operators/prepend.ml operators/append.ml operators/accel.ml \
         operators/noblank.ml operators/compand.ml \
         operators/sequence.ml operators/cross.ml operators/smartcross.ml \
         operators/mixing_table.ml operators/filter.ml \
         operators/mean.ml operators/swap.ml \
         operators/pan.ml \
         operators/compress_exp.ml operators/pitch.ml \
         operators/fir_filter.ml operators/iir_filter.ml \
         operators/biquad_filter.ml \
         operators/map_op.ml operators/resample.ml \
         operators/flanger.ml operators/comb.ml \
         operators/compress.ml operators/clip.ml \
         $(if $(W_SOUNDTOUCH),operators/soundtouch_op.ml) \
         $(if $(W_SOUNDTOUCH),operators/st_bpm.ml) \
         $(if $(W_LADSPA),operators/ladspa_op.ml)
 }}}

 And yes, it also works if you remove the symetric difference of the two
 removed above sets, that is to say you only have
 {{{     operators/prepend.ml operators/append.ml operators/accel.ml \
         operators/noblank.ml operators/compand.ml \
         operators/sequence.ml operators/cross.ml operators/smartcross.ml \
         operators/mixing_table.ml operators/filter.ml \
         operators/mean.ml operators/swap.ml \
         operators/pan.ml \}}}

 So my guesses are:
  * Issue is not a wrong line of code but rather incompatible thing
  * Ocaml may be involved...


 As a side note, I'm getting quite mad with this issue, I'd like some help
 from someone who knows what kind of interaction could lead to this mutual
 exclusion...

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/30#comment:6>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !

Répondre à