Posts Tagged Memory Usage

Building a More Efficient Ruby Interpreter

Posted by on Thursday, 22 July, 2010

Google Tech Talk December 11, 2009 ABSTRACT Presented by Hongli Lai and Ninh Bui from Phusion. The Ruby programming language powers a significant portion of today’s websites and is still growing in popularity. However, its implementation is not as efficient as it could be, and in this talk we will explain how Ruby Enterprise Edition addresses some of these issues. Ruby has a relatively high memory usage compared to eg C++, and we’ve found that this is partially caused by the fact that memory for program code is not shared between multiple interpreter instances as is possible in C++ programs. One way to battle this problem is by leveraging copy-on-write virtual memory semantics. However, Ruby’s garbage collector hostile to this technique. We will explain how we’ve made the garbage collector copy-on-write friendly, how we’ve leveraged Linux kernel features during the development of this enhancement, how our Phusion Passenger web app deployment product leverages copy-on-write and how much memory one can save. Another problem the fact that Ruby’s userspace threading implementation severely degrades in performance in the face of large thread stacks. Several contributors have identified the source of this problem: Ruby copies the entire thread stack during a context switch. We will explain how they’ve identified this problem, what obstacles we’ve faced during the development of a patch and just how significant the improvement is.


Aperture 3 gets its first major update

Posted by on Wednesday, 24 February, 2010


Aperture 3, Apple’s latest prosumer photo manipulation and organization software, got a major update and it looks like a doozy. As you recall, Aperture was eating memory like an Ancient Roman at an orgy and essentially bogging down all and sundry. This update improves the speed with which large libraries are imported and fixes many of the heavy batch issues that cropped up in the first release.

Full list of fixes after the jump. You can read more about the problem over at the KBase.

About Aperture 3.0.1
This update improves overall stability and addresses a number of issues in Aperture 3, including:

Upgrading libraries from earlier versions of Aperture
Importing libraries from iPhoto
Importing photos directly from a camera
Memory usage when processing heavily-retouched photos
Face recognition processing
Adding undetected faces using the Add Missing Face button
Printing pages containing multiple images
Printing photos and contact sheets with borders and metadata
Editing photos using an external editor
Display of images with Definition and Straighten adjustments applied
Zooming photos in the Viewer and in the Loupe using keyboard shortcuts
Accessing Aperture libraries on a network volume Selecting and moving pins on the Places map
Adding and editing custom locations using the Manage My Places window
Switching between masters when working with RAW+JPEG pairs.



Of PC Scan-What Are The Benefits Of Pc Scan

Posted by on Tuesday, 7 July, 2009

You can completely remove all spyware from your computer easily, programs which are known as spyware, malware and adware gather on your computer without letting you know and that they are running in the background, they steal the resources that are necessary for your computer to function as memory usage and CPU are in a constant use.

The uses Of PC Scan will explain you the absolute freedom in a way to get rid of any infections like viruses, Trojans, spyware and etc from your computer within hours. The first thing to do is look for the computer industry HP / Compaq or Dell, etc. and learn how the system recovery on your computer. Recovery system essentially erases all the data accumulated since the purchase of computer and reinstall the operating system to the factory settings. This means that any programs or files on your computer are erased forever (this is why you should make a backup of your data). This also applies to viruses and other diseases. Any / all infectious, disease file will be completely removed from your computer will be completely and that’s an advantage Of PC Scan. After updating the program so that the last quarter will remove spyware and the tools will require you to restart the computer and boot into Safe Mode. Therefore, simply restart the computer and press F8 or F6 (depending on your computer and operating system) on your computer before the Windows startup screen. The system asks if you want to start in safe mode and select the first option as it appears along with other options. Once you have started your computer in Safe mode menu of the security situation in the four corners. The computer in Safe Mode is an important step because it does not allow drivers keeping shoe of most spyware is to remain inactive. You can not always remove spyware that is active until this step is necessary. In Safe Mode, you will also notice that you do not have Internet access, and this is normal and will return to normal after reboot in normal mode you are ready to secure your computer Of PC Scan. Now that you’re in safe mode management and a full Of PC scan can be run. It will take some time, but to clean your system it’s worth it. Once the scan is done click the boxes next to spyware are in liquidation.
Use Of Pc Scan for a great job within a few seconds and let the system operate more efficiently and quickly. In addition Spyzooka Review will help you further to manage the registry cleaner, according to the counter and certainly enjoy working on a new system.


Rumor: Apple Considering iPhone Background Apps

Posted by on Friday, 15 May, 2009

Apple’s said no background apps on the iPhone forever, citing it destroys stability and system resources. Today, three reputable publications have independently claimed that Apple is having a change of mind. What the hell?

Techcrunch, Gruber and Alley Insider (Alley first) all claim to have sources that say Apple is working on and discussing just how they can run applications in the background. (An example of such an application and a potentially convenient use for background apps is an IM client that would alert you as soon as you got a message; Apple previously claimed their now late push data system could alert dormant applications of new events without needing those apps to be open. Open apps would take up resources.)

Part of this rumor is that Apple would require applications that run in the background to undergo a more thorough application process for the iTunes store. That makes sense and is the most likely scenario. Apps could be vetted (even more stringently than the current approval process) for processor and memory usage, then approved for being a background-capable app.

Why would they change their minds? Well the Palm Pre is certainly the main reason we can think of. Palm has, to many reporters, said that the Pre’s advantages lie in its faster hardware, light operating system designed specifically for a mobile environment, ability to run multiples programs at once—each referred to in the UI as a card—despite the potential battery drain. And the Pre, as we all know, is high up on the list of things we’re all excited for.

But what makes more sense is for all of this to be for the next hardware iteration of the iPhone, one that has more processing power and memory—two things that are in tight supply on the current versions. This would mean Apple could stick to their story of not being able to support background apps now, but still deliver on something just about everybody wants.

We’ll find out more at WWDC 2009, I’m sure. [Business Insider via Daring Fireball via Techcrunch]