Skip to content

cba_common_PFHhandles, Error Max array size would be reached. #229

@commy2

Description

@commy2

Error Max array size would be reached. Current size: 999999, wanted size: 1000000.

Another one of these:
https://forums.bistudio.com/topic/168277-cba-community-base-addons-arma-3/?p=2962614

Apparently happens only after long sessions. Might be caused by misuse of CBA_fnc_addPerFrameHandler (could also be something in ACE, or some different addon entirely)

I think this needs some debuging messages when the 1kk array size is reached to figure out what the cause is.

Related:

_publicHandle = cba_common_PFHhandles pushback _handle;
_data = [_func, _delay>
 7:10:18   Error position: <pushback _handle;
_data = [_func, _delay>
 7:10:18   Error Max array size would be reached. Current size: 999999, wanted size: 1000000.
 7:10:18 File x\cba\addons\common\fnc_addPerFrameHandler.sqf, line 16
 7:10:18 Error in expression <

No idea if related, but this error was spammed before PFH started:

if (alive btr_1) then {
btr_1 setpos [ getmarkerPo>
 3:57:43   Error position: <btr_1) then {
btr_1 setpos [ getmarkerPo>
 3:57:43   Error Undefined variable in expression: btr_1
 3:57:43 File mpmissions\__cur_mp.Woodland_ACR\mission\vehicle_fix.sqf, line 3
 6:44:23 Error in expression <e_fix.sqf"
while {true} do {

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions