Skip to content

Collecting garbage very slow #108

@kovidgoyal

Description

@kovidgoyal
  • I'm submitting a:

    • Vulnerability report -> use the specific form instead!
    • Bug report
    • Feature request/suggestion
  • [Bug report] What is the current behavior?
    Basically reading the PDF, updating the info dict and the XMP metadata and saving the pdf is taking extremely long, the test PDF is at:
    https://bugs.launchpad.net/calibre/+bug/2041745

Probably some quadratic algorithm somewhere. This is with 0.10.3. The issue can be mitigated by turning off garbage collection during save. However, if garbage collection has the potential to be so slow, perhaps it should default to off, or better, be made faster.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions