Opened on Dec 31, 2011 at 8:58:46 AM
Closed on Dec 31, 2011 at 1:48:42 PM
Last modified on Jan 2, 2012 at 12:21:33 PM
#2086 closed Bug (No Bug)
recieve error in array combination v 3.3.8.0
| Reported by: | benwinnipeg9 | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | Standard UDFs | |
| Version: | 3.3.8.0 | Severity: | None |
| Keywords: | Cc: |
Description
hi, pretty new to the forum but have been using Autoit a while.
I download version 3.3.8.0 today and when i ran my script that worked in previous 3.3.6.1 it ran great but gave me Error Allocating Memory in v3.3.8.0.
I had also added 8 GB of ram to my laptop today and at first assumed i got bad ram, after doing a mem test with no errors i downgraded to Autoit 3.3.6.1 and no errors any more. I realize this UDF is not used all that much, just wanted you to be aware of it.
simple code...
#include <Array.au3> Global $aArray[49] = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49] for $i = 6 To 6 $aArrayCombo = _ArrayCombinations($aArray, $i, ",") Next _ArrayDisplay($aArraycombo, "arraycombo")
Thanks to you who maintain and update!
Merry Christmas and Hapy New Year,
Ben
Attachments (0)
Change History (4)
follow-up: 3 comment:1 by , on Dec 31, 2011 at 10:07:30 AM
comment:2 by , on Dec 31, 2011 at 1:48:42 PM
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
As jchd note,
no Bug
follow-up: 4 comment:3 by , on Jan 2, 2012 at 10:22:36 AM
Replying to jchd:
Do you realize the C(49, 6) = 13983816 ?
This is below the maximum AutoIt array size, but don't forget your OS also puts a limit to how much a single process may allocate.
Please, next time post to the General Help forum first.
Yes I do realize that it is 13983816, and if it works 3.3.6.1 but does not in 3.3.8.0 and give me an error it is a bug, i dont care that much as i will continue to use 3.3.6.1. dont know why i would post in general help, It works in the version i am using and my computer handles it in about 35 min... thanks anyway, benny
comment:4 by , on Jan 2, 2012 at 12:21:33 PM
Replying to anonymous:
Replying to jchd:
Do you realize the C(49, 6) = 13983816 ?
This is below the maximum AutoIt array size, but don't forget your OS also puts a limit to how much a single process may allocate.
Please, next time post to the General Help forum first.
Yes I do realize that it is 13983816, and if it works 3.3.6.1 but does not in 3.3.8.0 and give me an error it is a bug, i dont care that much as i will continue to use 3.3.6.1. dont know why i would post in general help, It works in the version i am using and my computer handles it in about 35 min... thanks anyway, benny
Certainly 3.3.8.0 is using more memory so that the reason it fail now

Do you realize the C(49, 6) = 13983816 ?
This is below the maximum AutoIt array size, but don't forget your OS also puts a limit to how much a single process may allocate.
Please, next time post to the General Help forum first.