Skip to content

5etools source retrieval consumes large amounts of memory even when unnecessary #25

@mstewart14

Description

@mstewart14

Thank you so much for this image. It is greatly appreciated.
I have a question about the retrieval setup for the 5etools source content. If I don't have offline_mode=true in my environment variables the memory consumed by this image is on the order of 4 GB all the time. If it's true it consumes about 25 MB (I'm assuming mileage varies with hardware and software setup, I'm on a debian 12 VM under a proxmox host).
Could the check for new content be fired off on a period (hr/day/wk/mo/yr) instead of either running or not?
Part of the problem is that the shell script (init.sh) remains running after it's completed whatever it's doing. Is there a way to kill it completely once it's completed the task?
Could there be a leaner version checker script that runs on a cron job with period set by an environment variable?

thank you again for your efforts on this project.

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