搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

SVG processing limit(s) ?

  • 1 回覆
  • 0 有這個問題
  • 22 次檢視
  • 最近回覆由 mvgulik

more options

Related to some personal SVG project files. Which are relative large files (containing lots of generated paths and other data).

On the largest of these files I spotted that some general svg-viewer failed with a "XML parse error: cannot load more than 200.000 XML elements" error message.

The same file, when viewed in Firefox (114~, Linux, Mint), also developed some odd hiccup that did not make sense. Unless ...

Is there a similar limitation active in Firefox ?

- I tried to see if "Inspect>Console" gave some potential related message on this. But spotted nothing out of the ordinary. - Searched developer.mozilla.org for any related svg data. But could not find any. - After ditching some data in the effected file, unrelated to the hiccup part, the hiccup disappeared. Suggesting I did hit some svg limit in Firefox. - File size: ~26.5MB. Number of elements: Other than more than 200.000, unknown at this point. (not sure how to count them at this moment either)

Related to some personal SVG project files. Which are relative large files (containing lots of generated paths and other data). On the largest of these files I spotted that some general svg-viewer failed with a "XML parse error: cannot load more than 200.000 XML elements" error message. The same file, when viewed in Firefox (114~, Linux, Mint), also developed some odd hiccup that did not make sense. Unless ... Is there a similar limitation active in Firefox ? - I tried to see if "Inspect>Console" gave some potential related message on this. But spotted nothing out of the ordinary. - Searched developer.mozilla.org for any related svg data. But could not find any. - After ditching some data in the effected file, unrelated to the hiccup part, the hiccup disappeared. Suggesting I did hit some svg limit in Firefox. - File size: ~26.5MB. Number of elements: Other than more than 200.000, unknown at this point. (''not sure how to count them at this moment either'')

被選擇的解決方法

Idea take time. And on a hunch of what else might have triggered the hiccup. I could quickly reproduce the hiccup in the stripped down version (~15MB). Ergo: It can't be related to some svg limit. (Seem I have a class-naming collision to blame in this case.)

Sorry.

從原來的回覆中察看解決方案 👍 0

所有回覆 (1)

more options

選擇的解決方法

Idea take time. And on a hunch of what else might have triggered the hiccup. I could quickly reproduce the hiccup in the stripped down version (~15MB). Ergo: It can't be related to some svg limit. (Seem I have a class-naming collision to blame in this case.)

Sorry.