You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hi,
I've try to minimize a big svg (65MB)
but after a lot of time the svgo was not compressed and return me this error.
Someone can help me?
RangeError: Maximum call stack size exceeded at JSAPI.spliceContent (C:\temp\prova\node_modules\svgo\lib\svgo\jsAPI.js:13 0:30) at C:\temp\prova\node_modules\svgo\plugins\collapseGroups.js:81:26 at Array.forEach (<anonymous>) at Object.exports.fn (C:\temp\prova\node_modules\svgo\plugins\collapseGroups .js:45:22) at C:\temp\prova\node_modules\svgo\lib\svgo\plugins.js:65:37 at Array.filter (<anonymous>) at monkeys (C:\temp\prova\node_modules\svgo\lib\svgo\plugins.js:53:35) at perItem (C:\temp\prova\node_modules\svgo\lib\svgo\plugins.js:81:10) at module.exports (C:\temp\prova\node_modules\svgo\lib\svgo\plugins.js:32:16 ) at optimize (C:\temp\prova\node_modules\svgo\lib\svgo.js:58:13)
Screenshots
Desktop (please complete the following information):
SVGO Version [2.2.1]
NodeJs Version [e.g 14.15.1]
OS: [Windows 10]
Additional context
If i try with a smaller image like 15MB the procedure run correctly without any error message
The text was updated successfully, but these errors were encountered:
Describe the bug
Hi,
I've try to minimize a big svg (65MB)
but after a lot of time the svgo was not compressed and return me this error.
Someone can help me?
RangeError: Maximum call stack size exceeded at JSAPI.spliceContent (C:\temp\prova\node_modules\svgo\lib\svgo\jsAPI.js:13 0:30) at C:\temp\prova\node_modules\svgo\plugins\collapseGroups.js:81:26 at Array.forEach (<anonymous>) at Object.exports.fn (C:\temp\prova\node_modules\svgo\plugins\collapseGroups .js:45:22) at C:\temp\prova\node_modules\svgo\lib\svgo\plugins.js:65:37 at Array.filter (<anonymous>) at monkeys (C:\temp\prova\node_modules\svgo\lib\svgo\plugins.js:53:35) at perItem (C:\temp\prova\node_modules\svgo\lib\svgo\plugins.js:81:10) at module.exports (C:\temp\prova\node_modules\svgo\lib\svgo\plugins.js:32:16 ) at optimize (C:\temp\prova\node_modules\svgo\lib\svgo.js:58:13)
Screenshots
Desktop (please complete the following information):
Additional context
If i try with a smaller image like 15MB the procedure run correctly without any error message
The text was updated successfully, but these errors were encountered: