High Memory Usage in My App That Only Plays Audio and Displays Images

High Memory Usage in My App That Only Plays Audio and Displays Images

Hi everybody,

I’m encountering a problem with my app developed in B4A. On some gadgets, the system stories that my app is consuming an unusually excessive quantity of reminiscence, resulting in Android displaying a warning notification stating that it’d have an effect on the telephone’s efficiency.

App context:​

  • My app performs audio recordsdata and shows static photos.
  • I’m not deliberately storing any information (no photos, audio recordsdata, or extreme cache).
  • Images are both loaded from native assets or from URLs.
  • Audio recordsdata are easy streams or native recordsdata, not video recordsdata.

Attached is a screenshot displaying the excessive reminiscence utilization reported by the system.
(Include your screenshot right here.)

Additional particulars:​

  • The challenge persists even when the app is idle (not actively taking part in audio or displaying new photos).
  • I’ve tried releasing bitmaps and different assets when they’re not wanted, however the reminiscence utilization stays excessive.
  • I’ve not deliberately carried out any…

Read extra

HI-FI News

by way of B4X Programming Forum https://ift.tt/Di2b80K

November 10, 2024 at 09:58PM