Skip to content
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

请问如何支持公式? #336

Open
yuany3721 opened this issue Mar 22, 2025 · 0 comments
Open

请问如何支持公式? #336

yuany3721 opened this issue Mar 22, 2025 · 0 comments

Comments

@yuany3721
Copy link

在从1.6.10迁移到2.0.0时,配置markdown-it-katex失败,按原方法配置不报错但是无法看到页面,有概率出现如下报错:

<--- Last few GCs --->

[18964:000001B6778C9000]   491141 ms: Mark-Compact 4055.3 (4139.9) -> 4041.8 (4142.1) MB, pooled: 0 MB, 888.63 / 0.00 ms  (average mu = 0.401, current mu = 0.228) allocation failure; scavenge might not succeed
[18964:000001B6778C9000]   492456 ms: Mark-Compact 4057.7 (4142.4) -> 4044.0 (4144.4) MB, pooled: 0 MB, 1022.06 / 0.00 ms  (average mu = 0.319, current mu = 0.223) allocation failure; scavenge might not succeed


<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

 1: 00007FF68A1E20AD node::SetCppgcReference+17245
 2: 00007FF68A14A4D8 v8::base::CPU::num_virtual_address_bits+92376
 3: 00007FF68ACCA1B1 v8::Isolate::ReportExternalAllocationLimitReached+65
 4: 00007FF68ACB7096 v8::Function::Experimental_IsNopFunction+2790
 5: 00007FF68AB06920 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+31392
 6: 00007FF68AB039BA v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+19258
 7: 00007FF68AB19251 v8::Isolate::GetHeapProfiler+7825
 8: 00007FF68AB19ACA v8::Isolate::GetHeapProfiler+9994
 9: 00007FF68AB2A567 v8::Isolate::GetHeapProfiler+78247
10: 00007FF68A7F348B v8::internal::Version::GetString+434795
11: 00007FF68AD8556E v8::PropertyDescriptor::writable+725998
12: 00007FF68AE4D1CD v8::PropertyDescriptor::writable+1544269
13: 00007FF68AE4D30F v8::PropertyDescriptor::writable+1544591
14: 00007FF60BAD1875

可能是什么原因?或者有考虑后续直接集成在默认配置中吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant