Skip to content

Memory leak: possibly caused by bindings #34

@Jaifroid

Description

@Jaifroid

Please see initial discussion at kiwix/kiwix-js#872.

I corroborate a memory leak, which is particularly evident when loading and searching with large ZIM archives. After loading more than two ZIM archives (in succession), only using libzim for the Xapian full-text search, an app is prone to crashing with an Emscripten "cannot enlarge memory" error.

If anyone has any clues on how to debug this kind of thing, I'd be very grateful to hear them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions