Menu

#49 memory leak

PyXB 0.7.3
closed
None
fixed
Content model
critical
PyXB 0.7.2
defect
2009-08-28
2009-08-28
No

There is a circular reference in the DFAState classes that inhibits garbage collection, causing bloat in long-running processes. The cached reference to ctdInstance can be eliminated as it can always be passed as a method parameter.

1 Attachments

Discussion

  • Peter A. Bigot

    Peter A. Bigot - 2009-08-28

    Fix for #49

     
  • Peter A. Bigot

    Peter A. Bigot - 2009-08-28
    • status changed from new to closed
    • resolution set to fixed

    Fixed in [1990]. Two problems: an indentation error caused absent namespaces to be created unnecessarily; and the back-reference produced uncollectable cycles. Apply the attached patch to 0.7.2 if you have long-running processes.

     
MongoDB Logo MongoDB