Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8119039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:40:59+00:00 2026-06-06T04:40:59+00:00

I noticed when I run Xcode especially start to run Interface builder. Mac osx

  • 0

I noticed when I run Xcode especially start to run Interface builder.
Mac osx occupied memory increased quickly.
Not only xcode, there are some other apps also cause memory occupy too much after running a while.
Even the memory of my mac is 4GB, some time I have to use tool to free memory.
What is reason and how to avoid this case happen in my developing mac app?

Welcome any comment

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T04:41:00+00:00Added an answer on June 6, 2026 at 4:41 am

    I just experienced something similar(but probably not the same) in my Qt application.

    I was reading and checksumming lots of files and the free memory kept dropping, though my appliations “real memory” stayed at a steady 50ish MB. However the amount of “Inactive memory” kept climbing.

    What was happening was that every file i read was being added to the disk cache. The memory consumed by the disk cache is apperantly marked as “inactive”, which should be just as availible as “free” memory according to apple ( http://support.apple.com/kb/HT1342 ) but that didn’t stop OSX from starting to swap when “free” hit below 50ish MB.

    in C:

      #include "fnctl.h"
      fcntl(f.handle(),F_GLOBAL_NOCACHE,1);
    

    Seemd to fix that by bypassing disk caching for that file descriptor.

    Freeing up inactive memory ( if that is indeed your problem ) can also be done from the commandline using the “purge” command.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I noticed its possible to run SQL scripts with Oracle's SQLPlus by providing only
I run an installation of Ubuntu as a server. I have noticed that it
I noticed some confusion initially with my question. I'm not asking about how to
We noticed that when testNG test cases extend TestCase (JUnit) those tests start executing
I noticed something with SubSonic 2.x that I'm sure others have run into... Calling
I've noticed my Cucumber tests started to take a loooong time to run, and
Possible Duplicate: iOS 5.1 with Xcode 4.3.1: [UIColor colorWithPatternImage:] strange behavior only on device
I am trying to find out why when creating an UIButton in interface builder
I noticed that when you run the app on the simulator, the data is
I noticed that If I run strings on my program which was compiled by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.