Better HN
topnewbestaskshowjobs
Log inSign up

tyronen

6 karma · joined Mar 26, 2015 (11y ago) · 4 submissions

Software engineer at Facebook.
Submissions

comment 11y ago · link · parent

Fresco is compiled natively to support ARM, ARMV7, and x86 CPUs. Almost all Android devices are using one of those three.

comment 11y ago · link · parent

The key, explained in the blog post, is that every Bitmap that lives in ashmem needs to have an explicit .recycle call to unpin and free the memory. Fresco's DraweeViews automatically do this when they go off-screen.

Fresco limits the total amount of memory an app can allocate to bitmaps, even in ashmem. But although ashmem does count towards total PSS, it doesn't count towards the Dalvik heap limit, which is the bound that most Java apps have to deal with.

comment 11y ago · link · parent

I'm an engineer on the project. Would be happy to take questions.

comment 11y ago · link · parent

Hello, I am one of the engineers on this project. Please see our blog post: http://code.facebook.com/posts/366199913563917/introducing-f...

and our web site: http://frescolib.org