JVM Debugger Memory View for IntelliJ IDEA - intellij-idea

I can't see the "Java Profiling" options in my IntelliJ (see screenshots) and I am not able to launch my Java Spring app with any profiler.
I'm on MAcOS Big Sur, running this version:
IntelliJ IDEA 2020.3.1 (Community Edition)
Build #IC-203.6682.168, built on December 29, 2020
Runtime version: 11.0.9.1+11-b1145.63 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.16
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Registry: compiler.automake.allow.when.app.running=true, ide.balloon.shadow.size=0
Non-Bundled Plugins: com.mallowigi, Docker, GrepConsole, org.jetbrains.kotlin

Profiling tools are Ultimate only feature: https://www.jetbrains.com/help/idea/cpu-profiler.html

Related

IntelliJ Community edition hangs a lot while typing

I am using IntelliJ Community edition for for Automation test using Java. I have observed that IntelliJ stops responding for while when I am typing. Some times it takes like 1 to 2 minutes to respond while I type. Even it goes blank when I switch the windows between the applications.
I am using:
**OS:** Windows 10 Pro, 64 bit OS
**IntelliJ version:**
IntelliJ IDEA 2020.1.4 (Community Edition)
Build #IC-201.8743.12, built on July 21, 2020
Runtime version: 11.0.7+10-b765.65 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Non-Bundled Plugins: gherkin, cucumber-java
Does anybody is facing this issue?

IntelliJ IDEA doesn't recognize lombok's Fields

IntelliJ recognize lombok annotations including #FieldNameConstants and I can import the generated fields via: import static com.somepackage.SomeClass.Fields.field (even autocomplete works after typing 'SomeClass' or 'Fields').
However when I want to build the project it says :
java: cannot find symbol
symbol: class Fields
location: com.somepackage.SomeClass
Intelli version:
IntelliJ IDEA 2019.3 (Community Edition)
Build #IC-193.5233.102, built on November 28, 2019
Runtime version: 11.0.4+10-b520.11 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 2000M
Cores: 4
Registry:
Non-Bundled Plugins: Lombook Plugin
Lombok version:
1.18.8 (tried it also with 1.18.10)
The same project(maven based springboot) works well in eclipse.
Lombok is correctly installed and annotation preprocesing is enabled. I have tried several uninstalls (both the ide and lombok) and clean project imports. Same result.

intellij plugin SDK can't resolve java

my plugin project can't find any java classes.
How can I make my project compile again?
I'm developing on manjaro
project: https://github.com/axaluss/power-mode-intellij-plugin
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=18.1.2
DISTRIB_CODENAME=Juhraya
DISTRIB_DESCRIPTION="Manjaro Linux"
IntelliJ IDEA 2019.2.4 (Community Edition)
Build #IC-192.7142.36, built on October 29, 2019
Runtime version: 11.0.4+10-b304.77 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.2.21-1-MANJARO
GC: ParNew, ConcurrentMarkSweep
Memory: 1948M
Cores: 6
Registry:
Non-Bundled Plugins: Batch Scripts Support, CMD Support, dcevm, de.ax.powermode, mobi.hsz.idea.gitignore, net.seesharpsoft.intellij.plugins.csv, org.intellij.scala, BashSupport, org.toml.lang, some.awesome
I figured it out.
Somehow the "project sdk" was broken.
I set it up freshly while I was figuring it out.
But somehow deleting it and creating it a second time fixed it.

IntelliJ new settings sync

IntelliJ added in IntelliJ IDEA 2017.3 EAP an integration to store the settings configuration in their own store, instead of using a GitHub repo as I am doing now.
The only problem is that I can't find the "Gear Icon" in the "Status Bar" to set that in IntelliJ even if I am on:
IntelliJ IDEA 2017.3 EAP (Community Edition)
Build #IC-173.3531.6, built on October 31, 2017
JRE: 1.8.0_152-release-1024-b6 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
How can I resolve that?
This is because this feature is only available in the Ultimate Edition

Why monitoring CPU and Sample are not available on visualVM

Since a few days VisualVM doesn't work very well.
I don't know why monitoring CPU and Sample are not avalables.
Thank you.
Jérôme
Version: 1.8.0_45 (Build 1380-140910); platform 20140910-unknown-revn
System: Windows 7 (6.1) Service Pack 1, amd64 64bit
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM (25.45-b02, mixed mode)
Vendor: Oracle Corporation, http://java.oracle.com/
Environment: Cp1252; fr_FR (visualvm)
User directory: C:\Users\Jerome\AppData\Roaming\VisualVM\8u40
Cache directory: C:\Users\Jerome\AppData\Local\VisualVM\Cache\8u40
Clusters:
C:\Program Files\Java\jdk1.8.0_45\lib\visualvm\platform
C:\Program Files\Java\jdk1.8.0_45\lib\visualvm\visualvm
C:\Program Files\Java\jdk1.8.0_45\lib\visualvm\profiler
I found this "not issue" ;)
It doesn't work because java app was running from eclipse and i didn't use jre (in eclipse) from jdk.
I modyfied this and it works.