Page MenuHomeFeedback Tracker

setUnitLoadout causes JIP queue growth
Feedback, NormalPublic

Description

Repeatedly calling _x setUnitLoadout typeOf _x for some unit causes unbounded JIP queue growth. Eventually, players cannot JIP because queue too long. The JIP queue should not grow unbounded.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
10.0.19041 Build 19041
Category
Performance
Steps To Reproduce

Create new mission in 3den. Place unit for player. Place AI unit with variable name "foo" and the following init code:

[] spawn {
  waitUntil { time > 0 };
  while {true} do {
    foo setUnitLoadout typeOf foo;
  }
}

Play mission as player. Repeatedly run "#exportJIPqueue" server command. Observe unbounded JIP queue growth.

Additional Information

See attached vanilla (no mods) repro mission on VR map. See attached JIP queue export logs, one near mission start and one after a few seconds.

Event Timeline

JibStyle created this task.Aug 4 2021, 6:02 PM

Any other commands spam jip queue as well?

BIS_fnc_KK changed the task status from New to Need More Info.Aug 6 2021, 1:32 PM
This comment was removed by BIS_fnc_KK.
BIS_fnc_KK changed the task status from Need More Info to Feedback.Aug 6 2021, 4:13 PM
BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Aug 6 2021, 4:18 PM
BIS_fnc_KK added a subscriber: BIS_fnc_KK.