in reply to Re: "Out Of Memory" error
in thread "Out Of Memory" error
Hi Steve, There is this function called genCombinations which generates several combinations for a set of values using glob. Ex:
f1= (1,2) f2 = (3,4,5)
No. of unique combinations = 6
1,3 1,4 1,5
2,3 2,4 2,5
Fields can be several tens and they can also have a range of values like:
f1 = range(0 to 100)
f2 = values(2,5)
In such case no. of unique combinations will be 200. So i used a glob to create these combinations.
@arr = glob{ (0 to 100),(2,5) };How else can i create these combinations so that the Out Of Memory error vanishes!
|
---|