Skip to content

taking Product() of a very long list of transpositions blows up memory #723

Closed
@dimpase

Description

Multiplying 370656 transpositions, with disjoint support, in a list s, using Product(s), blows up memory
No matter how big (I went to 10GB!) I set -o, I get (with GAP 4.8.3)

 Error, reached the pre-set memory limit (change it with the -o command line option) in
 res[i] := func( C[i] ); at /home/scratch/dimpase/gap/latest/lib/coll.gi:743 called from
 <function "List">( <arguments> )
 called from read-eval loop at line 24  of x.g

here is how I get there:
x.g.txt

PS. I wish there was a function to convert list of lists into a permutation. Of course I can create a list, presenting the permutation I need, and convert it into permutation (or just multiplying 370656 permutations one by one - this took 30 min or so of wall clock time).

Activity

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

Metadata

Assignees

No one assigned

    Labels

    kind: discussiondiscussions, questions, requests for comments, and so on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions