How does one learn actual Software Development?

Software development is a process by which standalone or individual software is created using a specific programming language. It involves writing a series of interrelated programming code, which…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




How to detect memory leaks in Android

Memory leak is one of the most critical issues that can occur in an app. Fixing them is often challenging as the developer will not have access to the relevant data to identify the root cause. All that developer may get to see is an OutOfMemory (OOM) Exception with a stack trace that is of no practical use.

There are tools like LeakCanary for Android and XCode Leaks Instrument for iOS. These tools will help identify the leaks in the development environment. That is, if the developer proactively profiles the app for all possible use cases.

Finotes production mode Android SDK detects memory leaks in Android Activities and Services out of the box and reports the bugs to the dashboard with important data such as activity trail, device info and device state info. This will help developer to be aware of the leaks happening in their app that is running in their users’ devices and also helps them to reproduce the memory leak.

Here is a screenshot of such a leak detected by Finotes in a live app.

Now the developer can use debug mode SDK of Finotes to drill down the issue further in the development environment. As seen in the below screenshot, debug mode SDK of Finotes will detect the exact object that is causing the leak.

Memory leak detection during development / testing. The exact object that leaks is identified and reported.

As seen in the screenshot, the static object ProgressBarManager is causing the leak. With this object level information, it is much easier now for the developer to fix memory leaks.

The memory leak detection is soon coming to Finotes iOS SDK.

Add a comment

Related posts:

How to Calculate the ROI of Link Building in SEO.

You can calculate the ROI, positive or negative, on a sale from your marketing channels, but calculating the value of building links seems murkier. In a survey last year, less than 50% of small…

Can weight loss and exercise affect your period

Many women experience changes in their menstrual cycle at various points in their lives. Some may find that their period becomes heavier or more irregular after losing weight or beginning an exercise…

Lost trying to find myself

So I made it to the film school i wanted to get into all 2018. Its one month into 2019, and I’m already having an itch to write for peace within. I’m not sure how to begin. I’ll abruptly say I’ve had…