Skip to content

Fix "RangeError: Maximum call stack size exceeded" exception when labels are big (>125000) - #5935 #5936

Merged
simonbrunel merged 3 commits intochartjs:masterfrom
ckyycc:master
Dec 31, 2018
Merged

Fix "RangeError: Maximum call stack size exceeded" exception when labels are big (>125000) - #5935 #5936
simonbrunel merged 3 commits intochartjs:masterfrom
ckyycc:master

Conversation

@ckyycc
Copy link
Contributor

@ckyycc ckyycc commented Dec 23, 2018

Below is copied from MDN Function.prototype.apply:

But beware: in using apply this way, you run the risk of exceeding the JavaScript engine's argument length limit.

Fixes #5935

@ckyycc ckyycc changed the title Fix #5935 Fix "RangeError: Maximum call stack size exceeded" exception when labels are big (>125000) - #5935 Dec 23, 2018
benmccann
benmccann previously approved these changes Dec 26, 2018
@simonbrunel simonbrunel added this to the Version 2.8 milestone Dec 31, 2018
@simonbrunel simonbrunel merged commit a8920f6 into chartjs:master Dec 31, 2018
@simonbrunel
Copy link
Member

Thanks @ckyycc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants