Problem
The IDE gets stuck while opening projects—probably because the project is stored in a folder managed by a tool like OneDrive, iCloud, etc.—and the thread dump shows it is hanging while reading certain files.
In Activity Monitor, fileproviderd system process used a lot of CPU.
at com.intellij.openapi.project.impl.IdeProjectFrameAllocator$run$2$3.invokeSuspend(IdeProjectFrameAllocator.kt:168)
- "ProjectManager.openAsync":StandaloneCoroutine{Active}, state: RUNNING [ComponentManager(ApplicationImpl@1441531844), com.intellij.codeWithMe.ClientIdContextElementPrecursor@395caae6, kotlinx.coroutines.UndispatchedMarker@2d270ab3, Dispatchers.Default]
at java.base/sun.nio.ch.UnixFileDispatcherImpl.read0(Native Method)
at java.base/sun.nio.ch.UnixFileDispatcherImpl.read(UnixFileDispatcherImpl.java:51)
at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:340)
at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:306)
at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:283)
at java.base/sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:234)
at java.base/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:74)
at java.base/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103)
at com.fasterxml.aalto.in.ByteSourceBootstrapper.ensureLoaded(ByteSourceBootstrapper.java:422)
at com.fasterxml.aalto.in.ByteSourceBootstrapper.determineStreamEncoding(ByteSourceBootstrapper.java:212)
at com.fasterxml.aalto.in.ByteSourceBootstrapper.doBootstrap(ByteSourceBootstrapper.java:130)
at com.fasterxml.aalto.in.ByteSourceBootstrapper.bootstrap(ByteSourceBootstrapper.java:118)
at com.fasterxml.aalto.stax.StreamReaderImpl.construct(StreamReaderImpl.java:165)
at com.intellij.util.xml.dom.StaxFactory.createXmlStreamReader(StaxFactory.kt:38)
at com.intellij.openapi.util.JDOMUtil.loadUsingStaX(JDOMUtil.java:230)
at com.intellij.openapi.util.JDOMUtil.load(JDOMUtil.java:261)
Cause
On macOS, fileproviderd is a system process that manages cloud-based file providers. It may become unresponsive and consume a lot of CPU or memory due to certain issues.
Resolution
Killing the fileproviderd process or restarting the system to resolve the problem.
Comments
0 comments
Please sign in to leave a comment.