Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8057731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:07:40+00:00 2026-06-05T09:07:40+00:00

In the App Delegate, I am preloading all my sound effects and background music.

  • 0

In the App Delegate, I am preloading all my sound effects and background music.
When testing with Instruments, the tool shows that I am leaking memory, the source being SimpleAudioEngine and a bunch of other classes related to playing sounds. Is preloadEffect and preloadBackgroundMusic really that bad? How can I fix my memory leaks? Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T09:07:42+00:00Added an answer on June 5, 2026 at 9:07 am

    Preloading effects is not bad practice, to the contrary. When the sound effect plays for the first time, it is loaded just like with the preload methods. The only thing preloading does is to avoid a stutter or freeze while the effect plays for the first time. For large audio files this can cause the app to pause for a tenth of a second or possibly more.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this method in App Delegate that makes a window and content view
In my app delegate, I have this method that gets stubbed out automatically, to
I have a method in my app delegate that updates the badge count for
I have a Navigation Controller in my app delegate that i am using to
I'm trying to dismiss a UIActionSheet from the app delegate so that it doesn't
So I have two view controller that I load on the app delegate when
In my app delegate, I have a IBOutlet for a UIButton that is linked
I have in my App Delegate an NSArray that contains a range of LPProduct
I am trying to manage the activity indicator from my App Delegate, that way
I've created an array of objects in the main app delegate that is loading

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.