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.

IDE dies preloading caches

See original GitHub issue

Hi! On several small-ish Haskell projects (that have been on intellij-haskell for some time) I am now experiencing out of memory errors whenever loading the project(s).

Steps to replicate

  • Plugin v1.0.0-beta48
  • IDEA 2019.1.3 with a few other plugins
  • JRE 1.8
  • Stack 1.9.3, resolver lts-12.26 (but a few others too)
  • A smallish Hakyll project
  • Load the project
  • Wait for Busy with preloading caches

Expected

Builds and caching finishes without error

Actual

GUI performance starts decreasing fast and IDEA complains of out of heap space. Have tried twice increasing (currently at 1.6GB).

Notes

I’ve tried reimporting the project a few times, and manually deleting a few caches. On a separate machine, on beta-46, this doesn’t seem to be happening (have decided not to upgrade though so hard to tell if it’s related).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
rikvdkleijcommented, Jun 18, 2019
1reaction
rikvdkleijcommented, Jun 17, 2019

Thanks for your minimal example. I will take a look asap.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Define the "Preload Cache" · Issue #590 · whatwg/fetch - GitHub
We need to define the preload cache, as currently it is not defined and different implementations are doing observably different things.
Read more >
Prefetching, preloading, prebrowsing - CSS-Tricks
Pre-fetching is a way of hinting to the browser about resources that are definitely going to or might be used in the future,...
Read more >
Cloudflare Preload Cache | Different Approaches - Bobcares
CloudFlare Preload Cache can be extremely useful when it comes to site speed. It increases website speed and enhances browsing. Continue...
Read more >
Is it possible to clear/preload the L1 cache contents?
I have a Raspberry Pi Model B and I am wondering can I use it to solve my research problem. What I want...
Read more >
Preload, Prefetch And Priorities in Chrome | by Addy Osmani
Chrome has four caches: the HTTP cache, memory cache, ... How does Chrome's network prioritisation handle preload and prefetch?
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