question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CachedInputFileSystem OOM when duration is infinity

See original GitHub issue
new enhanced.CachedInputFileSystem(fs, Infinity)

I want to have a never-expire cache but infinity crashes with OOM

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alexander-akaitcommented, Dec 5, 2022

Just add checks on Infinity:

And couple of tests, it is exotic usage, so if you need it as soon as possible, I would advise you to implement it yourself

0reactions
Jack-Workscommented, Dec 5, 2022

👀 I don’t familiar with how this work

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · webpack/enhanced-resolve - GitHub
CachedInputFileSystem OOM when duration is infinity. #368 opened 3 weeks ago by Jack-Works · 5 · add type defines for CachedInputFileSystem ?
Read more >
html audio tag, duration always infinity - Stack Overflow
The audio plays alright, but the duration property of the audio tag is always returning infinity. I tried the accepted answer to this...
Read more >
461733 - MSE - cannot seek when video.duration set to Infinity
duration to Infinity. The application appends the initialisation segments and then calculates the live edge position and sets the video.
Read more >
HTMLMediaElement.duration - Web APIs | MDN
If the element's media doesn't have a known duration—such as for live media streams—the value of duration is +Infinity .
Read more >
acron - OSCHINA - 中文开源技术交流社区
ReplaceContext ): R { for (let i = 0; i < this.plugins.length; ... fs:[Object:CachedInputFileSystem],//用于访问compilation 的inputFileSystem 属性。
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found