-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using version 2.9.3 gets Maximum call stack size exceeded exception in google chrome. #7881
Labels
Comments
Duplicate of #7761? |
Evert:
Probably not. Here is the traceback from chrome (I always seem to get both errors – I’m assuming the second is caused by the first). I think it is caused because the range of possible values on the X-axis is really large. But, not sure.
Uncaught RangeError: Maximum call stack size exceeded
at hn (Chart.min.js:7)
at n._getLabelSizes (Chart.min.js:7)
at n.calculateTickRotation (Chart.min.js:7)
at n.update (Chart.min.js:7)
at he (Chart.min.js:7)
at Object.update (Chart.min.js:7)
at Qe.updateLayout (Chart.min.js:7)
at Qe.update (Chart.min.js:7)
at Qe.construct (Chart.min.js:7)
at new Qe (Chart.min.js:7)
Uncaught TypeError: Cannot read property 'skip' of undefined
at Qt (Chart.min.js:7)
at single (Chart.min.js:7)
at Qe.getElementsAtEventForMode (Chart.min.js:7)
at Qe.handleEvent (Chart.min.js:7)
at Qe.eventHandler (Chart.min.js:7)
at n (Chart.min.js:7)
at HTMLCanvasElement.Me.<computed> (Chart.min.js:7)
David
[https://www.cisco.com/c/dam/m/en_us/signaturetool/images/banners/standard/03_standard_indigoblue.png]
David Ward
TECHNICAL LEADER.SOFTWARE ENGINEERING-DEVELOPMENT
[email protected]<mailto:[email protected]>
Tel:
Cisco Systems, Inc.
8135 Maple Lawn Blvd.
FULTON
20759
United States
cisco.com
[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]
Think before you print.
This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.
Please click here<http://www.cisco.com/c/en/us/about/legal/terms-sale-software-license-agreement/company-registration-information.html> for Company Registration Information.
From: Evert Timberg <[email protected]>
Sent: Tuesday, October 13, 2020 4:07 PM
To: chartjs/Chart.js <[email protected]>
Cc: David Ward (daviwar2) <[email protected]>; Author <[email protected]>
Subject: Re: [chartjs/Chart.js] Using version 2.9.3 gets Maximum call stack size exceeded exception in google chrome. (#7881)
Duplicate of #7761<#7761>?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#7881 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMZOUSM7RM7P2UESUVOCZBDSKSXOLANCNFSM4SPRXBWQ>.
|
thanks @davidspencerward, I'll take a look and see if I can also reproduce in v3.0.0-beta.3. |
The issue seems to be related to |
Evert:
Awesome. That works and improves everything!!!! Zooming is 1,000 times faster now.
Thanks for the quick response!!!
David
[https://www.cisco.com/c/dam/m/en_us/signaturetool/images/banners/standard/03_standard_indigoblue.png]
David Ward
TECHNICAL LEADER.SOFTWARE ENGINEERING-DEVELOPMENT
[email protected]<mailto:[email protected]>
Tel:
Cisco Systems, Inc.
8135 Maple Lawn Blvd.
FULTON
20759
United States
cisco.com
[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]
Think before you print.
This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.
Please click here<http://www.cisco.com/c/en/us/about/legal/terms-sale-software-license-agreement/company-registration-information.html> for Company Registration Information.
From: Evert Timberg <[email protected]>
Sent: Tuesday, October 13, 2020 6:12 PM
To: chartjs/Chart.js <[email protected]>
Cc: David Ward (daviwar2) <[email protected]>; Mention <[email protected]>
Subject: Re: [chartjs/Chart.js] Using version 2.9.3 gets Maximum call stack size exceeded exception in google chrome. (#7881)
The issue seems to be related to stepSize: 1. If I remove that, it's not a problem. I'm guessing that when stepSize is 1, there are too many ticks and we run out of memory when measuring the text.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#7881 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMZOUSMTNOO5TJEWLHXZC7LSKTGC5ANCNFSM4SPRXBWQ>.
|
silentmatt
added a commit
to silentmatt/Chart.js
that referenced
this issue
Oct 17, 2020
kurkle
pushed a commit
that referenced
this issue
Oct 18, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using chartjs to create a scatter chart of OOM events by timestamp. If I use version 2.9.3, I get the "Maximum call stack size exceeded" exception in google chrome. Same for versions 2.9.0, 2.9.1 and 2.9.2. But version 2.8.0 works fine. I will paste in my HTML/JS code. To get the error, just change "2.8.0" to "2.9.3".
Version 74.0.3729.169 (Official Build) (64-bit)
Running on Ubuntu 16.04.
oom-analysis.html.gz
The text was updated successfully, but these errors were encountered: