Text insertion is lagging

Answered

Text insertion is lagging for me. I'll type and then take my fingers off the keys and the editor plays catch-up.

I've seen that you guys will most likely ask for a CPU snapshot. If you could also direct on how to do that, that would be awesome.

0
18 comments
Avatar
Permanently deleted user

I'll start on that right away.

0
Avatar
Permanently deleted user

So I have created a copy of the idea.vmoptions file called idea.vmoptions.copy in the same directory. Will the IDE load my copy automatically?

0
Avatar
Permanently deleted user

Also just to be clear this is happening in the text editor and not any terminal input prompts

0
Avatar
Permanently deleted user

Okay I get it now. I added the profiler line to the idea.vmoptions file, but now I can't open idea. When I try to run idea from the command line, I get this error: `LSOpenURLsWithRole() failed with error -10810 for the file /Applications/IntelliJ IDEA CE.app.`

0

See the note about the Community Edition in the article describing how to enable profiler. Since the profiler agent is not bundled with the CE, the easiest way would be to install and use UE trial with the agent bundled.

0
Avatar
Permanently deleted user

Currently downloading the UE. Do I have to enable the profiler again or is it in the Help menu already?

0

You have to enable it as described in the document since CE and UE are not sharing the settings.

0
Avatar
Permanently deleted user

The text input lag is nonexistent in the UE. I have enabled the profiler and everything.

0

Probably some third-party plug-in you have installed in CE is causing it.

0
Avatar
Permanently deleted user

I have installed no 3rd party plugins. The only plugins that are enabled are the plugins that come default.

0

Unfortunately, without the CPU snapshot it's hard to tell what's the problem.

0
Avatar
Permanently deleted user

What is the plugin directory for the Community Edition (Mac OSX). Maybe the profiler didn't install correctly.

0

Profiler agent for CE has to be copied manually and profiling started from YourKit trial edition, not from the IDE. It's complicated.

0
Avatar
Permanently deleted user

Is there an article with the steps on how to do this?

0

No, except this:

IntelliJ IDEA and PyCharm Community Editions do not include a YourKit profiler agent, because the YourKit agent library is not open-source. To take a CPU or memory snapshot with the Community Edition, you can download an evaluation version of YourKit Java Profiler, copy the yjpagent library to the IDE bin directory, add it to the .vmoptions as described above, and connect to the running IDE instance from the standalone YourKit Profiler UI.

0
Avatar
Permanently deleted user

I'll just switch over to the UE. I have a license for school anyways. Why this problem exists in the CE and not the UE is perplexing.

0

Please sign in to leave a comment.