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

tailwindcss がヒープの空き容量不足でメモリ割当エラーを吐き出す #11

Open
exflikt opened this issue Aug 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working task Work, todo, refactor by maintainers; see also 'ask' label

Comments

@exflikt
Copy link
Collaborator

exflikt commented Aug 13, 2024

再現方法

  1. --watch フラグを用い、ファイル編集に応答してCSSを生成するバックグラウンドプロセスを長期間継続的に動かす。
  2. allocation failure scavenge might not succeed という警告が現れる。
  3. FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory というエラーが発生する。

一時的な解決方法

問題発生したときに、バイナリを再実行すれば一時的に解決出来ます。根本的に解決できるまで、開発中の注意事項としてこのイシューを存続させておきます。

似た症状についての議論:
tailwindlabs/tailwindcss#9735

@exflikt exflikt added the bug Something isn't working label Aug 13, 2024
@exflikt exflikt changed the title tailwindcss バイナリがヒープの空き容量不足でメモリ割当エラーを吐き出す tailwindcss がヒープの空き容量不足でメモリ割当エラーを吐き出す Aug 13, 2024
@exflikt exflikt added the task Work, todo, refactor by maintainers; see also 'ask' label label Aug 18, 2024
@exflikt exflikt self-assigned this Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working task Work, todo, refactor by maintainers; see also 'ask' label
Projects
None yet
Development

No branches or pull requests

1 participant