Skip to content

memory consumption #4

@shokimble

Description

@shokimble

No idea how you managed to load this up with 200k images.

I tried 35k and memory limit is exceeded on 8gig memory machine. It keeps everything in memory. These aren't even large images.

Also for anyone trying to run the code there's a case issue on page.jsx with jQuery - just change it to jquery on linux.

Also in img.py change all the if des == None to if des is None. Again not sure how original author got that working in the first place. Numpy has never liked an equality check just a type check. Been like that for longer than I can remember.

Good project, thought it would help me shortcut implementing pretty much the same thing but can't scale with keeping every image in memory. I don't have unlimited memory :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions