Skip to content

Prohibitive memory requirement in DegreeSequences #41187

@maxale

Description

@maxale

Steps To Reproduce

Consider the code:

sum(1 for _ in DegreeSequences(18))

Expected Behavior

The code should produce 675759564.

Actual Behavior

It exhaust all memory (16GB) and is killed by the system.

Additional Information

No response

Environment

  • OS: Ubuntu 24.04.3 LTS
  • Sage Version: 10.8.beta6

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions