64-bit Mac app, would use less memory

Spotify is the last 32-bit app on my Mac.
That means when it's launched (which is all the time), OS X has to load all the system frameworks into memory a second time, but now the 32-bit versions of them, next to the 64-bit versions already there. Just to accommodate Spotify. (source: https://developer.apple.com/library/mac/documentation/Darwin/Conceptual/64bitPorting/indications/indications.html)
As such, Spotify invisibly takes up way more memory than what it actually needs to run. 
I can understand the need for Spotify to be backwards compatible with 5+ years old Mac hardware in use as media players and such, but that can be accommodated with a fat binary, including both 32-bit and 64-bit code.
In 2013, it is a bit strange that lots of Mac users of Spotify have to pay this memory burden of the past, while where is an elegant solution available in the form of fat binaries.
Another thread about this subject:
http://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/No-64-bit-Mac-version/m-p/85001

Hi, OP here.
Focusing on the quality of the desktop app after improving the looks is a good idea, but it is a very strange argument for marking this idea as "Not Right Now", because this idea is all about the fundamental quality of the Mac desktop app.
I guess the staff monitoring here aren't really the technical folks responsible for these decisions, or they are more knowledgeable about the Windows or Linux platforms as opposed to OS X, but let me point out the relevant bits from the documentation I linked to earlier:
Similarly, in v10.6 and later, the first non-64-bit-capable application pays a performance and memory footprint penalty because OS X must bring in the entire 32-bit framework stack. Thus, if you are primarily targeting OS X v10.6 and later, you should be 64-bit if at all possible.
A 64-bit app can consume significantly more memory than a 32-bit app. For this reason, it is tempting to continue to ship 32-bit apps. However, this is usually not the right thing to do.
In OS X v10.6 and later, most built-in apps are 64-bit. The first time you run a 32-bit application, all of the 32-bit framework slices must be loaded into memory. This means that loading older, 32-bit-only applications causes significant memory pressure, particularly on computers with limited RAM. This often outweighs the additional memory impact caused by larger data structures.
This has been the case since 10.6 was released well over 5 years ago.
Now, the probable reason Spotify has been delaying this is their use of the Chromium Embedded Framework, which has been 32-bit only for a  long time. In August 2013 however they introduced 64-bit builds for Windows and Mac OS X with version 3.1547.1412.
So it seems there shouldn't be any bariers anymore for Spotify to release a 64-bit capable update for the Mac client. Please do so!
Google says this about the benefits of using 64-bits Chromium, which would also apply to Spotify:
64-bit Chrome has become faster as a result of having access to a superior instruction set, more registers, and a more efficient function calling convention. Improved opportunities for ASLR enhance this version’s security. Another major benefit of this change comes from the fact that most programs on a modern Mac are already 64-bit apps. In cases where Chrome was the last remaining 32-bit app, there were launch-time and memory-footprint penalties as 32-bit copies of all of the system libraries needed to be loaded to support Chrome. Now that Chrome’s a 64-bit app too, we expect you’ll find that it launches more quickly and that overall system memory use decreases.
Now, for everyones enjoyment and inspiration, a pretty picture of a rather large cat:

Similar Messages

  • What can I tune to make the database use less memory in a 1GB ram notebook?

    Hi,
    Our notebook has 1GB ram only, running Windows XP Pro, Oracle10g Database, Oracle9i Application Server. It consumes about 1.4 - 1.5GB ram where it's already start using the virtual memory, therefore have some performance issue with it especially when try to startup the services.
    I'm not a DBA but I would like to get some advice on what and how can I tune the database to use less memory since the notebook is used for demo application only, so we save memory resource and make the notebook runs faster.
    Please advise.
    Thank you.

    Application Server 10gR1, 10gR2 is certified against WinXP:
    XP      10g (9.0.4.0.1)      N/A      Desupported       None       Yes      N/A
    XP      10g (9.0.4)      N/A      Desupported      None      Yes      N/A
    XP      10g (10.1.3.1.0)      N/A      Certified      Yes      None      None
    XP SP2+      10g (10.1.3.0.0)      N/A      Certified      None      Yes      Yes
    XP SP2      10g (10.1.2.0.2)      N/A      Certified      None      Yes      Yes
    XP SP2      10g (10.1.2.0.1)      N/A      Certified      None      Yes      Yes
    XP Xeon      10g (10.1.2.0.0)      N/A      Certified      None      Yes      Yes
    XP      10g (10.1.2.0.0)      N/A      Certified      None      Yes      Yes
    XP      9.0.3      N/A      Desupported      None      Yes      N/A
    XP      9.0.2.0.1      N/A      Desupported      None      None      N/ADessupported means Oracle will no longer produce patches or provide maintenance for the version, so in case you hit some new bug the only alternative will be to work with a higher version.
    In your case you could use 10g on XP. The only XP not supported is Home Edition.
    Coming back to the issue, since 9iR2 Oracle recommendation is to provide 1G for each AS node (infrastructure and middle tier). If you have this on the same box, by itself on the Enterprise install will consume more than 1G.
    Tuning 10g database won't make much difference. If you install AS 10gR2 it includes a 10gR1 Database as infrastructure database you could use for demo purposes.
    ~ Madrid.

  • How do I download the Mac App Store using OS X 10.5.8

    how do I download the Mac App Store using OS X 10.5.8

    Well, you can cancel your Snow Leopard order if it hasn't already shipped. You need not wait on it as you can download Mountain Lion now that you have a redemption coupon (I assume that's what you meant by the email.)
    After Mountain Lion is installed you can download a free copy of Mavericks. This all assumes that your computer meets the requirements for Mountain Lion.
    Before you do any upgrade I strongly urge you to do this:
    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Personally, I would erase the hard drive then install the new OS X version. First, make a backup of your files from which you can later restore.

  • Hello.  I upgraded my MIFI 2200 (had no contract on it) to a Jetpack (with a contract) when customer service told me this 4G device would use less data because it was faster.  This was not correct.  Anyway, I got the device, had problems, did tech support

    I upgraded my MIFI 2200 (had no contract on it) to a Jetpack (with a contract) when customer service told me this 4G device would use less data because it was faster.  This was not correct.  Anyway, I got the device, had problems, did tech support, re-activated my MIFI.  1.  Decided to return the device. Spent hours with Customer Service, then finally up to Management, they agreed to take it back and void the contact, I sent it back immediately – and instead of voiding the contact they transferred it to my MIFI! Please cancel the contract on the MIFI. 2.  During the short time I had the Jetpack I continually received overage alerts, took it all the way up to 30 GB, each time I backdated the new data plan except twice when customer service did and failed to back date the increase, and once the computer locked customer service out and could not increase.  The end result is I have a $495 bill, many of these alerts were false since I ended up with only 14 MG for the month, etc.  I am asking that my bill be reduced significantly to reflect no overage and to compensate for these problems. Please open up a ticket for this.

    I had Verizon JetPak and you will find it will eat data like crazy. I opted to sign on to ATT Uverse and configured my phones and other devices to the WiFi on the Uverse system. It took about 5 minutes to completed the configuration.  I was using 10 to 12 GB monthly to support 5 devices. Even if you use Verizon DSL, you are still subjected to same GB allotment.  In my area, Verizon DSL is not available. With Uverse, I have 250 GB monthly to use, and I have not even come close to using anything of that magnitude. I reduced my GB package with Verizon to 2 GB per month and since having ATT Uverse, I never use more than 1GB a month with Verizon.
    I have no problem with Verizon cell phone service as we get a much stronger signal where we live than you can with ATT or any others.  It is just my opinion, but if you are running multiple devices off Verizon Jetpak, you will eventually spend a fortune to keep pace.  I pay $60 a month for 18 Mbps speed, although ATT have packages that cost much less. But, it saves me a bundle each month. The cost of Uverse alone is worth not having to run everything through a Jetpak.  
    If you have the  option to use another DSL service provider in your area, I recommend dumping the Jetpak and sign on with another carrier.

  • Unable to login in to Mac App Store using valid account.

    I recently inherited a spare MacBook Air from my wife (who got a new one). I deleted her user account, and set up a new admin user account for me. The machine is running 10.7.5.
    Now, I am absolutely unable to login to the App Store. I am using my valid Apple ID -- for example, the same Apple ID that I used to gain access to this very forum. System Preferences accepts my ID. iTunes accepts my ID. BUT the App Store will aboslutely NOT respond. It will not load. I get the red "connection failed" alert, and then after several tries it doesn't respond at all.
    It doesn't give any option to switch users -- perhaps once the original owner has used the App Store, the computer will never again allow anyone else to use it? It doesn't say that there is another user logged in. There appears to be no way of deleting and reinastalling the App Store. There is no cache file I can find to be cleared. There is no preference option. There is no information. There appears to be no way of fixing this at all, short of wiping the hard drive and reinstalling the operating system. Is that what I have to do? WHY IS THIS SO HORRIBLY DESIGNED? And why is there no support short of the forum? I hate this about Apple (despite being a long-time Apple evangelist and OSX devotee).
    Thanks.

    The first thing you should do after acquiring a second-hand computer is to erase the internal drive and install a clean copy of OS X. How you do that depends on the model. Look it up on this page to see what version was originally installed.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard installation disc, which you can get from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. I suggest you install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the gray installation discs that came with it. If you don't have the discs, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, it should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    Once booted from the disc or in Internet Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive, which is what you should do.
    After partitioning, quit Disk Utility and run the OS X Installer. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    You should then run Software Update and install all available system updates from Apple. If you want to upgrade to a major version of OS X newer than 10.6, buy it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.

  • Customize system to use less memory

    Hi!
    I'm a bit disapointed with my macmini. It has been really a hard job work with professional applications such Flash, Dreamweaver, Photoshop, etc. Course that an iMac should be more appropriated, but sometimes you get what you can. I want to work with MacOS X plataform even if I got to see some "slow-motion", and a multicolor ball, rounding and rounding.
    What I do not expect to see is an unstable system with 99% of phisical memory full, most part of the time. Flash closes many times of the day, and I cannot blame it! I also got an iMac 333 with 384Mb of RAM running Panther and it runs all this software, even better (not considering speed, just stability).
    What Leopard is doing with memory??? Is there a way to reduce memory usage, dedicating more to applications?

    Nerowolfe. Well, this is a discussion place - so let's do it!
    I agree with you in some points: today I have an old car and I buy it becouse I think ar conditioning is already a basic item, also a security system in Brazil today! Ok, we are not talking about some brand new SUV, but even a small indian car that came with ar is expected to works even with ar turned on.
    Let's go back to MacMini. Apple sell it with 1GB. Ok, let's forget Flash, Dreamweaver and Photoshop. Let's call iTunes, iMovie, Safari, Mail and some others small ones. Let's work for 4 - 6 hours. Hummm. At the very end of RAM, the chance of a crash is very high. This is a point.
    Another point is that an upgrade from 1 to 4 is brutal force (and expansive). Like a kompressor in an old engine. Something is wrong, but quadruplicating memory it will seams ok. I'd use to do it with PC with Windows. The system may go slow, but may not go down. My iMac 333 with 384MB runs Panther and when I try to open several apps toghether, it becomes VERY slow, but take more time before crashes. I credit that to it's HD, a 7200rpm Barracuda.
    I was thinking about a downgrade to Tiger, or put more 1GB and a faster HD. What you think about?
    Last (but not list) point: I think operational systems should be customizables to work in old machines in order to generate no more digital garbage - it is also an environmental problem. The ZX and iMac 333 may go to garbage, but any 1GB G4, G5 and even Intel macs may not - there is no space for it anymore!

  • Making 10.3.9 use less memory?

    Hello - I have 10.3.9 running on a 933 MHz ibook with 640 MB Ram...is there anyway of disabling certain extensions or other functionality that would make the computer a little less sluggish? I realize that the best thing to do would be to add a 1 gig Ram chip but I would rather not spend the cash right now.
    Thanks - Ryan

    If you have programs that you don't use, delete those as well.
    For example: Garageband, iDVD, any games that came with OS X.
    To see what's on your hard drive and how much space is being taken up you can use the program WhatSize. Also, the program MonoLingual will remove any extra languages you have on your computer.
    Both programs can be found at http://www.versiontracker.com
    ~iBook G4 1.07GHz (Kaiya), with extra 256MB RAM (Mac OS X 10.3.9)~ LaCie 160GB external hard drive~ ~3G 15GB iPod (Nakai)~ ~GiveStarsto users who earn them.~

  • SQL server 2012 Ent using less memory than the allocated amount after enabling -T834

    I am facing the situation mentioned here.
    http://blogs.msdn.com/b/psssql/archive/2009/06/05/sql-server-and-large-pages-explained.aspx
    My SQL Server 2012 is not able to use all the 112 GB RAM that was allocated to it after enabling -T834.
    This was not the case earlier. Now I see the Total server memory and target server memory counters are just 27 GB constantly. I found the below error while starting SQL after enabling -T834. I restarted services again and this time it started fine. But I
    didnt bother about the error untill users complained slowness and SQL memory usage was found to be low.
     Detected 131068 MB of RAM. This is an informational message; no user action is required.
     Using large pages in the memory manager.
     Large Page Allocated: 32MB
     Large page allocation failed during memory manager initialization
     Failed to initialize the memory manager
     Failed allocate pages: FAIL_PAGE_ALLOCATION 2
     Error: 17138, Severity: 16, State: 1.
     Unable to allocate enough memory to start 'SQL OS Boot'. Reduce non-essential memory load or increase system memory.
    Now, SQL is started by its Total server memory is only 27 GB. How can I make SQL server use all the allocated max server memory with -T834 still on ?
    Bharath Kumar ------------- Please mark solved if I've answered your question, vote for it as helpful to help other user's find a solution quicker

    Hi Bharath , 
    in the below post the scenario is mentioned clearly 
    http://blogs.msdn.com/b/psssql/archive/2009/06/05/sql-server-and-large-pages-explained.aspx
    Unable to allocate enough memory to start 'SQL OS Boot'. Reduce non-essential memory load or increase system memory.
    This shows one of the problems with large pages: the memory size requested must be contiguous. This is called out very nicely at the MSDN
    article on Large Pages
    These memory regions may be difficult to obtain after the system has been running for a long time because the space for each large page must be contiguous, but the memory may have become fragmented. This is an expensive operation;
    therefore, applications should avoid making repeated large page allocations and allocate them all one time at startup instead.
    In this case above, even if ‘max server memory’ was set to say 8Gb, the server could only allocate 2Gb and that now becomes a maximum allocation for the buffer pool. Remember we don’t grow the buffer pool when using large pages so whatever memory we allocate
    at startup is the max you get.
    The other interesting thing you will find out with large pages is a possible slowdown in server startup time. Notice in the ERRORLOG entry above the gap of 7 minutes between the server discovering trace flag 834 was on (the "Using large pages..” message)
    and the message about how much large memory was allocated for the buffer pool. Not only does it take a long time to call VirtualAlloc() but in the case where we cannot allocate total physical memory or ‘max server memory” we attempt to allocate lower values
    several times before either finding one that works or failing to start. We have had some customers report the time to start the server when using trace flag 834 was over 30 minutes.
    regards,
    Ram
    ramakrishna

  • How do I get Firefox to use less memory? None of the answers I've found online work. I'm ready to go back to IE!

    I like to keep several tabs open while I'm working. I have friends who do this with no noticeable effect on their computer speed. My Task Manager consistently shows a huge amount of memory being used by firefox, increasing as I keep my browser open. Closing tabs doesn't help, and I've tried about a dozen "fixes" that I've found online. Thanks for your help.

    See these:
    http://malwaretips.com/blogs/remove-istart123-virus/
    http://www.pcthreat.com/parasitebyid-45021en.html

  • How to make GUI application run fast and use less memory?

    Hi, there,
    My GUI application have:
    Menu, toolbar, filechooser, JTable, and log panel.(There is not much file io operation)
    When I run it in my machine, it is so slow, and if I run several times, close it after each run, it will run out of my memory. I am using PII266MMX, 256RAM. (When I run another software, such as flashfxp, GUI of which is more complicated than mine, however it is far faster than mine, but I don't think it is written in JAVA), Is JAVA's GUI desktop application not fast?
    Regardless hardware factors, what should I pay attention to writing an efficient GUI application?
    Can anybody give some advice?
    Thanks a lot, thanks .....

    Thank you, Denis.
    I can run several times of this applicaiton in another machine: PIII866, 256M RAM (windows 2000). I didn't encounter the memory problem, I can open serveral windows of it with that machine.
    Why I met this problem in this old machine, I alway get memory not enough problem.(this old machine comes with Win98). Both of machines have same memory(256M).
    Could you please give me some hint?
    Thanks,
    Sitai

  • How to knoew what apps ara using more memory? aamnd how to find em?

    my computer seem to be using alot of space and i think is mostly junk i need to no how to find outn wht is using it anh how to dlete it permantly?

    Hello miukreb!
    Please make at least a spell check before asking questions in the internet. Your text is difficult to understand.
    You have a program called "Activity Monitor", which is showing everything you asked for (I think): you find it in the folder Applications > Utilities. This program shows you the memory used and the CPU.
    If you meant your disk usage of your files you need an other program; for example "Disk Inventory X" or "WhatSize"
    Best wishes for the New Year 2012!
    marek

  • What Mac App can use to see Baseline and Main Level Profiles of H.264 files

    Trying to figure out why some files play funny (herky jerky)... thinking it might be related to these being too high/unsupported...

    Hi, I could be wrong but this could be a question of framerate ...
    Even more if your projector does not support a native 24p framerate or if you do not correctly set the video output framerate ..
    if your file has got a framerate on 24p (like on BDs), make sure to adjust this framerate on your video output in MAC OSX, else this will transform from 24p into 60p or 50p, with known consequences.
    To get relevant information of your video files to adjust the output, U can check all information by using for instance MEDIA INSPECTOR.
    I hope this can help U.
    www.hdfever.fr (in french ... but very usefull) maybe could help U.
    Regards

  • Mac App Store Use

    Everytime I try Spp store says I need 2 GB
    <Post Relocated by Host>

    At the Apple Icon at top left>About this Mac.
    Then click on More Info>Hardware and report this upto but not including the Serial#...
    Hardware Overview:
    Model Name: iMac
    Model Identifier: iMac7,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2.4 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 4 MB
    Memory: 6 GB
    Bus Speed: 800 MHz
    Boot ROM Version: IM71.007A.B03
    SMC Version (system): 1.21f4

  • Can I create a Mac App without using IB (in mostly C++)

    Hi Everyone
    I am a Windows C++ developer wanting to port an application to OSX. I’m currently reading a book on Cocoa / Objective C but have a few questions I’m hoping can be answered here.
    I know that I can create a Cocoa application in XCode. However, I have already written a GUI library in C++ for Windows that creates all windows, menus and dialogs programmatically. Can I do this in XCode/Cocoa?
    In Visual Studio, I can either create an MFC application, a .NET application or a basic Win32 application. The basic Win32 application is what I have used (together with my library), because it doesn’t contain any Microsoft pre-created classes. I control everything with my library.
    Is there a similar project type / way of doing things in Cocoa? Can I programmatically create windows / create menus and so on? Or must I use IB for everything?
    My purpose is to expose as a little of the platform specific GUI code as possible. The bulk of my program is written in C++ with no regard for specific GUI issues. But the GUI is complex and I’d rather keep the differences between code bases as small as possible.
    Many thanks in advance for any help.

    Thanks for your help.
    I was afraid that might be the answer.
    My library doesn’t use any MFC, just my own classes that wrap up window creation, usage and so on.
    This will definitely make me think twice before trying to port to OSX.
    As I understand it (and I could easily be wrong!), you can still use C++ to write OSX apps, just not the GUI/system parts?

  • Can use the Mac App Store behind a HTTP/1.1 proxy

    We have an HTTP/1.1 proxy at work, and when doing a download from the Mac Apps Store, the downloaded data comes through as "Transfer-Encoding: chunked".
    According to the HTTP 1.1 specification (the request is made as HTTP/1.1), the client MUST be able to decode the chunked transfer encoding (see the end of section 3.6.1 in rfc2616).
    Am I missing something? Or is there a way to make the Mac App Store use HTTP/1.0, or support the standard?
    Thanks.

    No. Only apps bought through the MAS can be updated by the MAS.

Maybe you are looking for

  • Cannot Scan with HP LaserJet Pro MFP M127fw

    I have installed the driver for the printer and tried to follow the instructions in the manual to scan a document.  When I find my printer folder in the start menu/All Programs, there is no option there to scan. Help! This question was solved. View S

  • Prob in migo

    hi     in goods receipt the movement type 101 iam not able to post the document rather the error message the material is notand ste storage location does not exist.

  • How to connect to External Database, if say SQL server, from Adobe LC

    Hi everyone, I have one application, which needs to save and load data from/to an external database,SQL server.I have no idea on how to implement this.But with my knowledge I managed to create DSs and using new data connection wizard, some how I mana

  • Write permission to download apps

    Whenever I try and download apps from my laptop, I get the following error message: You don't have write access for your iTunes media folder or a folder within it. Change permissions (in the Finder) and then choose Store > Check for available downloa

  • XML problem in 8.0.5

    Hi I am using Oracle 8.0.5. Just now downloaded "XML SQL Utility for Java". Well. when I try to execute the file ( I am working on Solaris, and jdk1.1.6) oraclexmlsqlload.csh it is giving me the following error: Loading jar files... Loading xmlparser