Crashes and slow performance

I would like to use AppCode to develop a modest C++ codebase. I have been doing this with partial success (I like AppCode), but I find that it is sometimes prone to user interface lag and crashes. For example, when using the editor, the interface can repeatedly become unresponsive for order seconds to minutes. Sometimes it never recovers at all, and I must use Force Quit before beginning a new session. The behaviour is inconsistent: sometimes I can go for a few days without encountering it; sometimes it happens after nearly every keypress.

I am currently using AppCode 2.5.2, but I have been observing this behaviour for several months since at least 2.1.1 over various versions of OS X 10.8 and 10.9. It seems to have become worse after upgrading to 2.5.2, which has prompted this post.

Can I ask if anyone has encountered similar behaviour, and, if so, whether it was possible to fix it?

4 comments
Comment actions Permalink

David,

We have numer of reports about the performance degradation.
Still, we would appreciate if you take a snapshot (https://intellij-support.jetbrains.com/entries/29983118-Reporting-performance-problems) in your environment and create the issue in the tracker: http://youtrack.jetbrains.com/issues/OC.
The slowdowns may be caused by insufficient memory available for AppCode. You can check how much memory AppCode uses by enabling the memory indicator in Preferences | Appearance page.
If AppCode runs on the edge of the limit, try increasing Xmx value in the configuration files as described here: http://stackoverflow.com/questions/13578062/how-to-increase-ide-memory-limit-in-intellij-idea-on-mac/13581526#13581526
0
Comment actions Permalink

Thanks for this. I hadn't really appreciated the role of Xmx, and having checked it's clear that this was too small. It seems to want a value closer to 1.4-1.5 Gb. I am using some heavily templated code and perhaps this contributes to the memory footprint.

Although AppCode is more responsive with a larger Xmx, I am still noticing pronounced lag which is worse in 2.5.2 than it was in earlier versions. I will pass this on to the issue tracker.

0
Comment actions Permalink

Do any of the reports correspond to large amounts of memory use?  I'm not seeing any oom errors, but I'm seeing severe slowdowns and long indexing times for the IDE, and it seems to all point to Appcode taking a very, very large amount of memory.  On startup, Appcode instantly grabs ~1.4 GB of memory right off the bat.  It seems like it only started sometime after 2.5 came out in my case.

This is after about 1 hour of use in appcode.  Seems to happen regardless of the size of the project that's open.



Attachment(s):
Screen Shot 2013-12-02 at 10.25.49 AM.png
0
Comment actions Permalink

Usually AppCode doesn't consume very much memory on the small projects. Most of the complaints were about large and very large projects. Anyway, we'll appreciate the snapshot form you.

0

Please sign in to leave a comment.