[android-components](../../index.md) / [mozilla.components.browser.icons](../index.md) / [BrowserIcons](index.md) / [onLowMemory](./on-low-memory.md)

# onLowMemory

`fun ~~onLowMemory~~(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/icons/src/main/java/mozilla/components/browser/icons/BrowserIcons.kt#L206)
**Deprecated:** Use onTrimMemory instead.

The device is running low on memory. This component should trim its memory usage.

