Can I increase the amount of memory allocation to my terminal or any other application to make it run faster ?

Hi,


I have a file that must be run using Terminal only. Its a pretty large file and i do remember that in WIndows we had an option where we could maximum run-time memory to speed up the process of a particular task. Is there any, such chance in Mac ?


Thank you

Teja

Mac OS X (10.6.7)

Posted on May 5, 2011 10:46 PM

Reply
3 replies

May 8, 2011 11:58 AM in response to Kappy

Dear Kappy,


Thank you so much for the reply. Basically this is what i am trying to figure out. I acknowledge that Mac and Apple are well built in every aspect. But i am just curious. Kindly bear.


In Windows, when i go to Task Manager > Processes > I can right click on any of them, and i can increase the Memory that is allocated from Normal > Above Normal > High > Very High > Real Time. So i am trying to work and do the same on Mac too. Because there is an application (Terminal), which i want to be executed at a higher rate.


Yes i did try Renice as you mentioned. But there was "no immediate significant change". Then i also used a GUI version for renice, called "Process Wizard". Which also did the same.


However thank you for the reply.


God bless

May 8, 2011 12:19 PM in response to tejaminnu

What you have described for Windows there is no need to do in Mac OS X. Any application will get as much memory as it asks for, up to the limit of the physical memory on your system. Beyond that point, the contents of older unused pages (4096 byte blocks) of memory are written to disk to free them up to be reallocated by whoever is asking for more memory. If the page is needed by the original owner, a new page is allocated and filled with the data that was written to disk. This is called swapping and can slow down the system.


Open the Activity Monitor application in the Utilities folder. If it reports that there is still free memory (green) while running your program, then the Terminal and whatever command you are running there has been given all the memory it has asked for without the need to swap any pages to disk.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can I increase the amount of memory allocation to my terminal or any other application to make it run faster ?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.