Mac Memory Allocation To App

Mac Memory Allocation To App Average ratng: 3,9/5 4082 reviews

Historically, the classic Mac OS used a form of memory management that has fallen out of favor in modern systems. Criticism of this approach was one of the key areas addressed by the change to Mac OS X. The original problem for the engineers of the Macintosh was how to make optimum use of the 128 KB of RAM with which the machine was equipped, on Motorola 68000-based computer hardware that.

  1. Mac Memory Allocation To Appraisal
  2. Mac Memory Allocation To Apply
  3. Memory Allocation Malloc
  4. Mac Memory Allocation To App Download
(Redirected from Talk:Mac OS memory management)
This article was nominated for deletion on 2010-05-03. The result of the discussion was keep.
WikiProject Computing(Rated C-class, Low-importance)
This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
CThis article has been rated as C-Class on the project's quality scale.
LowThis article has been rated as Low-importance on the project's importance scale.
WikiProject Apple Inc.(Rated C-class, Mid-importance)
This article is within the scope of WikiProject Apple Inc., a collaborative effort to improve the coverage of Apple, Macintosh, iOS and related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
CThis article has been rated as C-Class on the project's quality scale.
This article has not yet been checked against the criteria for B-Class status:
  1. Referencing and citation: not checked
  2. Coverage and accuracy: not checked
  3. Structure: not checked
  4. Grammar and style: not checked
  5. Supporting materials: not checked
  6. Accessibility: not checked

To fill out this checklist, please add the following code to the template call:

b1 <!--Referencing & citations--> = <yes/no>
b2 <!--Coverage & accuracy --> = <yes/no>
b3 <!--Structure --> = <yes/no>
b4 <!--Grammar & style --> = <yes/no>
b5 <!--Supporting materials --> = <yes/no>
b6 <!--Accessibility --> = <yes/no>
assessing the article against each criterion.
MidThis article has been rated as Mid-importance on the project's importance scale.
Contribute to the project:

Here are some tasks awaiting attention:
  • Article requests :See here.
  • Assess : Update the classification of articles in Category:Unassessed Apple Inc. articles and Category:Unknown-importance Apple Inc. articles. Assess all C and B class articles against the B-Class checklist. See the category. Be sure to add the articles to any appropriate task forces.
  • Citing sources :Apple Inc., Steve Jobs, Steve Wozniak, Apple II series
  • Cleanup :iOS (iPhone OS 1, iPhone OS 2, iPhone OS 3, iOS 4, iOS 5), iTunes (iTunes Store, App Store (iOS) (iOS SDK), iBookstore), iChat, iPhoto, iMovie, GarageBand, iLife, iWork, Pages, Keynote (presentation software)
  • Copyedit :
  • Expand :Xserve, OS X Server, iMac, Force Touch
  • Infobox :Category:Apple Inc. articles needing an infobox
  • NPOV :
  • Orphans :
  • Photo :Category:Apple Inc. articles needing photograph, Category:Apple Inc. articles needing screenshot
  • Stubs :Macintosh stubs, Macintosh software stubs, More..
  • Update :Snow Leopard
  • Verify : Double check the classification of articles in Category:Automatically assessed Apple Inc. articles and remove the ' auto=yes' parameter. Be sure to add the articles to any appropriate task forces.
  • Other : *Current discussions (XFD's, mergers, etc.):

Untitled[edit]

I apologize if my English isn't perfect, anyway, I think is at least understandable.Motorola MC68000 isn't a 'full 32-bit' processor; it has only 24-bit wide address bus.It is incorrect to say '24 lines allow addressing up to 8MB' because 24 lines allow to address up to 16 MBytes of memory (any kind of course). The reason of the 8MBytes limit is due the way the memory map was structured on '24-bit' Macs (http://www.osdata.com/system/physical/memmap.htm#MacPlus).Because of this MacOS 7 is able to address more than 8 MBytes of memory (4MBytes RAM + 4MBytes ROM) only on the models equipped with 'full 32-bit' processors.I know my english is simple. Please feel free to improve it in any way.Please let me know (here) if anybody of you think I'm wrong somehow.- 213.203.155.204 18:04, 1 January 2006 (UTC)

The tone of the article worries me slightly..the author(s) seem to assume that Apple refused to change the memory manager out of pure stubbornness or pig-headedness. I think it more likely that Apple assumed all along that some radically new OS would supercede the existing Mac OS (as OS X eventually did) and that it would not be worth the trouble to rewrite the entrenched memory manager. Windows to mac software for windows. -Astrovan

Some developers were already indicating their displeasure at the way memory management worked as far back as 1989 or so (possibly earlier, but that's when I became aware of it). At that time System 7 hadn't even been released, and it certainly didn't address the issue. In fact by making MultiFinder a non-optional part of the system, it made the situation worse. There were some third-party extensions that replaced the memory manager (Optimem), which showed that it could be changed - though it's true that Optimem caused some compatibility issues with some apps - but then they didn't have the inside story that Apple themselves would have had. In 1992 some colleagues and I had a lengthy discussion with some Apple engineers at a developer seminar about the situation, and we outlined a scheme to them that we thought could have worked. They agreed it was a workable idea, but told us that backward compatibility would be too difficut to ensure, though we didn't really buy that, since our plan provided an identical view of the system from the app's perspective. Perhaps they knew that it really wasn't apps they were worried about, it was system code that was taking liberties - it's come to light much more recently that a lot of it was undocumented, uncommented and certainly unmanaged. However, despite this their tone was very much along the lines of 'you boys shouldn't meddle in grown-up's business, now go away and leave it to us, we know what we're doing'. We found it patronising to say the least, especially as clearly the implementation that the 'grown ups' had come up with sucked so badly. OS X totally replaces the memory manager though implements the same APIs in Carbon, so it shows that a different plan could have been dropped in underneath without compromising API compatibility - and provided apps stuck to the rules that Apple had promoted since the first public issue of Inside Macintosh, they would not have had a problem. Apple's other sticking plaster 'solutions' to the problem - temporary memory and so forth, as well as the seriously crappy virtual memory scheme in System 7.whatever, simply added to the problem in spades. It's a moot point, but they really should have bitten the bullet and fixed it with System 7, even if there would have been some bumps in the road as a result - they did it with the 24 -> 32 bit thing, 68k -> PowerPC thing, and others, so why they were so stubborn about this is hard to fathom.Graham 08:00, 5 Sep 2004 (UTC)
I agree with the points made by Graham, however, I do believe that the article does not contain a level of objectivity that is desirable. While Graham makes perfectly valid points, they are still points of personal opinion, which could be done without. If this article was more objective, then perhaps it would not seem to people that Apple was 'stubborn or pig-headed'. For instance, instead of saying 'Apple did a bad thing' we could say 'It was some people's opinion that Apple did a bad thing', the latter keeping a neutral point of view. This would be quite an interesting (and by that I mean 'boring') task to do, but it would give this article quite a nice polish. --huwr 08:51, 6 Sep 2004 (UTC)

Mac Memory Allocation To Appraisal

I am deleting this:

In fact this demonstrates conclusively that it was possible to change the model all along without a major compatibility issue, which was always Apple's defence for keeping the original scheme.

because it is, pardon me, bullsh*t. The 'compatibility issue' was that applications were reaching into private memory manager data structures, patching traps (in many cases, Apple could not change the order in which purely internal routines were called by portions of the toolbox without breaking important third-party applications), directly reading low-memory globals, in other words, generally violating encapsulation. This was a problem for the entire Mac toolbox, not just the memory manager.

All of that compatibility nightmare still exists -- in the Mac OS 9 emulation layer (Classic.app).

In Carbon on Mac OS X, Apple could do away with all the cruft because there is no binary compatibility with old applications. Carbon apps may run on Mac OS 9 -- but the version of Carbon on Mac OS 9 is a compatibility shim that still uses the old implementation underneath the modernized API calls. Only in Mac OS X could Apple fully do away with the old implementation.

(If you must have credentials, I was a software engineer on the Carbon team at Apple.) —Preceding unsigned comment added by 213.203.155.204 (talk • contribs) 19:04, 1 January 2006 (UTC)

I think that's fair comment. But since Apple were already aware that there was a problem as far back as the late 80s, there is no real reason that Carbon or so0mething very like it could not have been instigated then, rather than waiting for OS X (and which, I seem to recall, was forced on them by some high-profile rebellious developers who refused point-blank, and quite reasonably, to port their code to Cocoa). Adoption might have been slower since there was no clear benefit in the short term, but Apple could have done it. I think that's the point. Graham 03:44, 2 January 2006 (UTC)
That's not really the topic of the article, though. Your meeting with Apple engineers of course isn't usable in the article because of WP:Verifiability. It's clear that everyone was annoyed by MultiFinder and the lame memory scheme we all found ourselves in; if you feel the need to add citations saying so then feel free. More citation would help this article, though it's hard to find them on programming topics from the 80s and early 90s. Tempshill 23:07, 8 March 2006 (UTC)

Fair use rationale for Image:Mac OS Classic application memory allocation.png[edit]

Image:Mac OS Classic application memory allocation.png is being used on this article. I notice the image page specifies that the image is being used under fair use but there is no explanation or rationale as to why its use in this Wikipedia article constitutes fair use. In addition to the boilerplate fair use template, you must also write out on the image description page a specific explanation or rationale for why using this image in each article is consistent with fair use.

Please go to the image description page and edit it to include a fair use rationale. Using one of the templates at Wikipedia:Fair use rationale guideline is an easy way to insure that your image is in compliance with Wikipedia policy, but remember that you must complete the template. Do not simply insert a blank template on an image page.

If there is other fair use media, consider checking that you have specified the fair use rationale on the other images used on this page. Note that any fair use images lacking such an explanation can be deleted one week after being tagged, as described on criteria for speedy deletion. If you have any questions please ask them at the Media copyright questions page. Thank you.

BetacommandBot (talk) 07:01, 1 January 2008 (UTC)

Historic or current article[edit]

Does this article reflect the current state or is it a historic article about pre OS X era? If so it should be renamed IMHO. —Preceding unsigned comment added by 217.110.199.118 (talk) 10:18, 28 August 2009 (UTC)

This article is definitely not up to date. There is no description of the 64 bit system used today Agnerf (talk) 05:22, 18 August 2019 (UTC)
Renamed it because it is fundamentally historic. Contemporary macOS memory management methods are not particularly distinctive. On the whole, not hugely different from any other Unix-like operating system. Only Classic Mac OS has such a unique way of managing memory that it deserves its own article in my opinion. (But, if someone disagrees, and thinks such an article should be written about contemporary macOS, by all means go ahead in another article.) SJK (talk) 08:38, 1 January 2020 (UTC)

'32-bit clean' redirect[edit]

32-bit clean redirects here, but there's a similar phenomenon in the ARM architecture and System/360 which also had programs use unused address bits to store data which caused problems when addresses were expanded. — Preceding unsigned comment added by 206.21.52.10 (talk) 07:15, 7 February 2013 (UTC)

Mac Memory Allocation To Apply

External links modified[edit]

Hello fellow Wikipedians,

I have just modified one external link on Mac OS memory management. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

  • Added archive https://web.archive.org/web/20100516140618/http://www.memorymanagement.org/articles/mac.html to http://www.memorymanagement.org/articles/mac.html

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

As of February 2018, 'External links modified' talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these 'External links modified' talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{sourcecheck}}(last update: 15 July 2018).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot(Report bug) 07:36, 11 January 2018 (UTC)

Retrieved from 'https://en.wikipedia.org/w/index.php?title=Talk:Classic_Mac_OS_memory_management&oldid=933488974'

This article describes some of the commonly used features of Activity Monitor, a kind of task manager that allows you see how apps and other processes are affecting your CPU, memory, energy, disk, and network usage.

Open Activity Monitor from the Utilities folder of your Applications folder, or use Spotlight to find it.

Overview

The processes shown in Activity Monitor can be user apps, system apps used by macOS, or invisible background processes. Use the five category tabs at the top of the Activity Monitor window to see how processes are affecting your Mac in each category.

Add or remove columns in each of these panes by choosing View > Columns from the menu bar. The View menu also allows you to choose which processes are shown in each pane:

  • All Processes
  • All Processes Hierarchically: Processes that belong to other processes, so you can see the parent/child relationship between them.
  • My Processes: Processes owned by your macOS user account.
  • System Processes: Processes owned by macOS.
  • Other User Processes: Processes that aren’t owned by the root user or current user.
  • Active Processes: Running processes that aren’t sleeping.
  • Inactive Processes: Running processes that are sleeping.
  • Windowed Processes: Processes that can create a window. These are usually apps.
  • Selected Processes: Processes that you selected in the Activity Monitor window.
  • Applications in the last 8 hours: Apps that were running processes in the last 8 hours.

CPU

The CPU pane shows how processes are affecting CPU (processor) activity:

Memory Allocation Malloc

Best data recovery software mac. Click the top of the “% CPU” column to sort by the percentage of CPU capability used by each process. This information and the information in the Energy pane can help identify processes that are affecting Mac performance, battery runtime, temperature, and fan activity.

More information is available at the bottom of the CPU pane:

  • System: The percentage of CPU capability currently used by system processes, which are processes that belong to macOS.
  • User: The percentage of CPU capability currently used by apps that you opened, or by the processes those apps opened.
  • Idle: The percentage of CPU capability not being used.
  • CPU Load: The percentage of CPU capability currently used by all System and User processes. The graph moves from right to left and updates at the intervals set in View > Update Frequency. The color blue shows the percentage of total CPU capability currently used by user processes. The color red shows the percentage of total CPU capability currently used by system processes.
  • Threads: The total number of threads used by all processes combined.
  • Processes: The total number of processes currently running.

You can also see CPU or GPU usage in a separate window or in the Dock:

  • To open a window showing current processor activity, choose Window > CPU Usage. To show a graph of this information in your Dock, choose View > Dock Icon > Show CPU Usage.
  • To open a window showing recent processor activity, choose Window > CPU History. To show a graph of this information in your Dock, choose View > Dock Icon > Show CPU History.
  • To open a window showing recent graphics processor (GPU) activity, choose Window > GPU History. Energy usage related to such activity is incorporated into the energy-impact measurements in the Energy tab of Activity Monitor.

Memory

The Memory pane shows information about how memory is being used:

More information is available at the bottom of the Memory pane:

  • Memory Pressure: The Memory Pressure graph helps illustrate the availability of memory resources. The graph moves from right to left and updates at the intervals set in View > Update Frequency. The current state of memory resources is indicated by the color at the right side of the graph:
    • Green: Memory resources are available.
    • Yellow: Memory resources are still available but are being tasked by memory-management processes, such as compression.
    • Red: Memory resources are depleted, and macOS is using your startup drive for memory. To make more RAM available, you can quit one or more apps or install more RAM. This is the most important indicator that your Mac may need more RAM.
  • Physical Memory: The amount of RAM installed in your Mac.
  • Memory Used: The total amount of memory currently used by all apps and macOS processes.
    • App Memory: The total amount of memory currently used by apps and their processes.
    • Wired Memory: Memory that can’t be compressed or paged out to your startup drive, so it must stay in RAM. The wired memory used by a process can’t be borrowed by other processes. The amount of wired memory used by an app is determined by the app's programmer.
    • Compressed: The amount of memory in RAM that is compressed to make more RAM memory available to other processes. Look in the Compressed Mem column to see the amount of memory compressed for each process.
  • Swap Used: The space used on your startup drive by macOS memory management. It's normal to see some activity here. As long as memory pressure is not in the red state, macOS has memory resources available.
  • Cached Files: Memory that was recently used by apps and is now available for use by other apps. For example, if you've been using Mail and then quit Mail, the RAM that Mail was using becomes part of the memory used by cached files, which then becomes available to other apps. If you open Mail again before its cached-files memory is used (overwritten) by another app, Mail opens more quickly because that memory is quickly converted back to app memory without having to load its contents from your startup drive.

For more information about memory management, refer to the Apple Developer website.

Energy

The Energy pane shows overall energy use and the energy used by each app:

  • Energy Impact: A relative measure of the current energy consumption of the app. Lower numbers are better. A triangle to the left of an app's name means that the app consists of multiple processes. Click the triangle to see details about each process.
  • Avg Energy Impact: The average energy impact for the past 8 hours or since the Mac started up, whichever is shorter. Average energy impact is also shown for apps that were running during that time, but have since been quit. The names of those apps are dimmed.
  • App Nap: Apps that support App Nap consume very little energy when they are open but not being used. For example, an app might nap when it's hidden behind other windows, or when it's open in a space that you aren't currently viewing.
  • Preventing Sleep: Indicates whether the app is preventing your Mac from going to sleep.

More information is available at the bottom of the Energy pane:

  • Energy Impact: A relative measure of the total energy used by all apps. The graph moves from right to left and updates at the intervals set in View > Update Frequency.
  • Graphics Card: The type of graphics card currently used. Higher–performance cards use more energy. Macs that support automatic graphics switching save power by using integrated graphics. They switch to a higher-performance graphics chip only when an app needs it. 'Integrated' means the Mac is currently using integrated graphics. 'High Perf.' means the Mac is currently using high-performance graphics. To identify apps that are using high-performance graphics, look for apps that show 'Yes' in the Requires High Perf GPU column.
  • Remaining Charge: The percentage of charge remaining on the battery of a portable Mac.
  • Time Until Full: The amount of time your portable Mac must be plugged into an AC power outlet to become fully charged.
  • Time on AC: The time elapsed since your portable Mac was plugged into an AC power outlet.
  • Time Remaining: The estimated amount of battery time remaining on your portable Mac.
  • Time on Battery: The time elapsed since your portable Mac was unplugged from AC power.
  • Battery (Last 12 hours): The battery charge level of your portable Mac over the last 12 hours. The color green shows times when the Mac was getting power from a power adapter.

As energy use increases, the length of time that a Mac can operate on battery power decreases. If the battery life of your portable Mac is shorter than usual, you can use the Avg Energy Impact column to find apps that have been using the most energy recently. Quit those apps if you don't need them, or contact the developer of the app if you notice that the app's energy use remains high even when the app doesn't appear to be doing anything.

Disk

The Disk pane shows the amount of data that each process has read from your disk and written to your disk. It also shows 'reads in' and 'writes out' (IO), which is the number of times that your Mac accesses the disk to read and write data.

The information at the bottom of the Disk pane shows total disk activity across all processes. The graph moves from right to left and updates at the intervals set in View > Update Frequency. The graph also includes a pop-up menu to switch between showing IO or data as a unit of measurement. The color blue shows either the number of reads per second or the amount of data read per second. The color red shows either the number of writes out per second or the amount of data written per second.

To show a graph of disk activity in your Dock, choose View > Dock Icon > Show Disk Activity.

Network

Mac memory allocation to app for android

The Network pane shows how much data your Mac is sending or receiving over your network. Use this information to identify which processes are sending or receiving the most data.

The information at the bottom of the Network pane shows total network activity across all apps. The graph moves from right to left and updates at the intervals set in View > Update Frequency. The graph also includes a pop-up menu to switch between showing packets or data as a unit of measurement. The color blue shows either the number of packets received per second or the amount of data received per second. The color red shows either the number of packets sent per second or the amount of data sent per second.

To show a graph of network usage in your Dock, choose View > Dock Icon > Show Network Usage.

Cache

In macOS High Sierra 10.13.4 or later, Activity Monitor shows the Cache pane when Content Caching is enabled in the Sharing pane of System Preferences. The Cache pane shows how much cached content that local networked devices have uploaded, downloaded, or dropped over time.

Use the Maximum Cache Pressure information to learn whether to adjust Content Caching settings to provide more disk space to the cache. Lower cache pressure is better. Learn more about cache activity.

The graph at the bottom shows total caching activity over time. Choose from the pop-up menu above the graph to change the interval: last hour, 24 hours, 7 days, or 30 days.

Mac Memory Allocation To App Download

Learn more

  • Learn about kernel task and why Activity Monitor might show that it's using a large percentage of your CPU.
  • For more information about Activity Monitor, open Activity Monitor and choose Help > Activity Monitor. You can also see a short description of many items in the Activity Monitor window by hovering the mouse pointer over the item.