开发者

IntelliJ IDEA freezing on source code completion

I'm using IntelliJ IDEA 10.0 for Java development. A few days ago it started to reveal a strange behavior with auto-c开发者_运维问答ompletion: pop-ups with completion options appears as usual, but IDEA completely freezes after choosing an option.

Cache cleaning doesn't help.

Has anyone else encountered this?

Update: Another symptom: IDEA freezes when trying to auto-implement method (e.g. toString)


This is may be due to garbage collector working hard.

Try give your IDE more memory. You can do it in idea.exe.vmoptions(if you use windows). Increase -xmx property to at least 512 MB.


This may not be the same issue you describe, but I have experienced long (but not eternal) freezes, where after a minute or two it came back to respond. This happened whenever I pressed Ctrl+Alt+Space in the code completion popup, which caused IDEA to load all project and external libraries to browse for possible completion options.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜