Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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)

comment:1 follow-up: Changed 13 years ago by 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.

comment:2 Changed 13 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

As jchd note,
no Bug

comment:3 in reply to: ↑ 1 ; follow-up: Changed 13 years ago by 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

comment:4 in reply to: ↑ 3 Changed 13 years ago by Jpm

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

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.