#14549: Memory leak in algebraic_immunity of BooleanFunction class
----------------------------+-----------------------------------------------
   Reporter:  okazymyrov    |             Owner:  mvngu                         
     
       Type:  defect        |            Status:  new                           
     
   Priority:  minor         |         Milestone:  sage-5.10                     
     
  Component:  cryptography  |          Keywords:  algebraic_immunity, 
BooleanFunction
Work issues:                |   Report Upstream:  N/A                           
     
  Reviewers:                |           Authors:                                
     
  Merged in:                |      Dependencies:                                
     
   Stopgaps:                |  
----------------------------+-----------------------------------------------
 On my Mac OS X 10.8.3 the code

 {{{
 from sage.crypto.boolean_function import BooleanFunction
 s=[BooleanFunction(random_vector(GF(2),16).list()).algebraic_immunity()
 for g in xrange(100)]
 s=[BooleanFunction(random_vector(GF(2),16).list()).algebraic_immunity()
 for g in xrange(100)]
 }}}
 takes around 5GB of RAM on each "s=..." part. You can repeat the procedure
 for new 5GB.

 Without algebraic_immunity function, the problem disappears.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14549>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to