How to Set Up AppCode So It Doesn’t Beach Ball

Click to play

May 10, 2022


The very first time you use AppCode, it’s easy to conclude that all it does is beach-ball, and so is not worth the effort to learn, or the money to purchase. But all you need is to change one setting.

I’m Jon Reid with, and a coach with Industrial Logic. On many fronts—not all, but many—AppCode is a better IDE for Apple developers than Xcode:

Code snippet sample

Improve your test writing “Flow.”

Sign up to get my test-oriented code snippets.

But if you download AppCode and try to use it on a real work project, it will seem painfully slow. That’s because it has a hard limit on how much memory to use. Let’s find out if this is a problem for you, then change that memory limit.

See How Much Memory AppCode Is Using

To see how much memory AppCode is using, go to the View menu ▶︎ Appearance ▶︎ Status Bar Widgets and enable Memory Indicator.

AppCode menu to enable Memory Indicator

When you do this, AppCode will show you the memory status in the bottom-right corner. Hover over it to see details of current memory use.

1694 of 2000M

Change AppCode Memory Settings

By default, AppCode uses 2000M for its maximum heap size. Except for very small projects, this is not enough. To increase the memory limit, go to the Help menu ▶︎ Change Memory Settings.

Change Memory Settings menu item

I recommend changing this to 5000M. Hit "Save and Restart" and AppCode will relaunch.

AppCode Memory Settings dialog

Then keep an eye on the memory indicator as you work. You will have a much better experience!

It's easy to conclude that all AppCode does is beach ball. But all you need is to change one setting.

Click to Tweet

If you have any questions or comments, please leave them below. Subscribe to my channel, and if this video was helpful, give it a like. Thanks for watching.

Write Parameterized Tests in ApprovalTests.Swift by Transforming Sequences

Jon Reid

About the author

Programming was fun when I was a kid. But working in Silicon Valley, I saw poor code lead to fear, with real human costs. Looking for ways to make my life better, I learned about Extreme Programming, including unit testing, test-driven development (TDD), and refactoring. Programming became fun again! I've now been doing TDD in Apple environments for 20 years. I'm committed to software crafting as a discipline, hoping we can all reach greater effectiveness and joy. Now a coach with Industrial Logic!

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Never miss a good story!

Want to make sure you get notified when I release my next article or video? Then sign up here to subscribe to my newsletter. Plus, you’ll get access to the test-oriented code snippets I use every day!