Skip to content

Improve cache mechanism when modulepath contains a large amount of non-modulefiles #562

Description

@xdelaruelle

As a follow-up of a discussion on the modules-interest mailing-list, cachebuild process takes infinite time and memory when a modulepath contains a very large amount of non-modulefiles (millions).

This is due to the recording in the cache of invalid modulefiles with their path and the error message obtained when checking if these files are modulefiles.

It may be simpler to avoid recording such information in the cache and treat access to these non-modulefiles as a file not found error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions