Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.19 seconds.

  1. [SOLVED] Re: Number of permurations an memory problems.

    You've specified n, but how do your permutations grow? Is it really (60!), which is 8.3209871e+81, which is definitely not going to fit in memory? Or is it something else?

    Basically, as n gets...
  2. [SOLVED] Re: Number of permurations an memory problems.

    How many permutations are you generating though? How large is each permutation?

    I'm also asking whether you need to copy the data as many times as you do, since you mentioned copying arrays in...
  3. [SOLVED] Re: Number of permurations an memory problems.

    Well, you're running out of memory. That's a different issue than trying to store a long in an int, and it probably won't be solved by increasing the initial capacity of your data structure- unless...
  4. [SOLVED] Re: Number of permurations an memory problems.

    What is the actual error you're getting?

    What happened when you tried increasing the initial size?
Results 1 to 4 of 4