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.

Electron using 100% cpu with Prisma extension turned on

See original GitHub issue

Issue Type: Bug

I am sharing a Primsa schema across multiple packages using symbolic links. I suspect the Prisma extension is having trouble with this setup.

Extension version: 3.12.0 VS Code version: Code 1.66.1 (8dfae7a5cd50421d10cd99cb873990460525a898, 2022-04-06T14:49:47.400Z) OS version: Darwin x64 21.2.0 Restricted Mode: No

System Info
Item Value
CPUs Intel® Core™ i9-9880H CPU @ 2.30GHz (16 x 2300)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 3, 4
Memory (System) 32.00GB (0.59GB free)
Process Argv –crash-reporter-id 9b1dda95-bb03-4b84-aa39-6cf6657594ae
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
pynewfile477:30463512

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:4
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
jwldcommented, Jul 27, 2022

Just to mention I had the same issue, but just using prisma in one repo. Disabling the file watcher solved it for me also.

(version 4.1)

2reactions
dmcdcommented, May 3, 2022

Hi @Jolg42 , yes disabling the file watcher functionality solves the problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I debug high cpu usage in electron? - Stack Overflow
And once I start consistent mouse hovers the usage pegs 1 core at 100%, with around 50% utilization of another.
Read more >
Untitled
Speea contract extension, Simpkins travel sweets calories. ... Svchost.exe taking 100 cpu windows 7, Russound ca66 manual, Warm canadian winter boots, ...
Read more >
The P2 Experiment - A future high-precision measurement of ...
This article describes the research and development work for the future P2 experimental facility at the upcoming MESA accelerator in Mainz. The facility...
Read more >
LINAC2014 - List of Keywords (operation) - CERN
Solid-state modulator, using fractional-turn pulse transformer has been designed, ... high voltage multiplier column, electron gun and its power supply are ...
Read more >
Ionization of Colliding Atoms The Hard and the Easy Way
scattering angle) partial ionization cross section and for the electron energy ... Using a high laser power we have also varied the energy...
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