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 3313520
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:07:30+00:00 2026-05-17T22:07:30+00:00

I was analyzing my app with leaks, and i observe that some core data

  • 0

I was analyzing my app with leaks, and i observe that some core data entity is leaking, how can a NSManagedObject leak? I thought it was managed by the operating system? Are there known leaks in core data? The line that Leaks says causes the leak is

NSMutableArray *e=[NSMutableArray  arrayWithArray:[[user videos] allObjects]];
    //the line above ^ is pointed to by leaks as generating a leak
for(VideoEntity * v in e)
{
    UploadThread *ut= [[UploadThread alloc] init];
    [ut setVideoEntity:v];
    [threads addObject:ut];
    [ut release];
}

Where user is a managed object which contains VideoEntity as a to-many relationship, and I assign the VideoEntitys to some threads to operate on…Leaks says VideoEntity is leaking.

Does anyone have any input?

  • 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-05-17T22:07:31+00:00Added an answer on May 17, 2026 at 10:07 pm

    UploadThread may be retaining it and never releasing it. Yes, NSManagedObjects can leak. They’re just objects. They are part of the same memory management that the rest of the system uses.

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

Sidebar

Related Questions

While analyzing some approaches to making our web app easier to deploy on our
I am analyzing a .dmp file that was created and I have a call
I assume that most of the analyzing and tracking is done based on the
Can somebody suggest a good free tool for analyzing .Net memory dumps other than
What are some good tools for getting a quick start for parsing and analyzing
I have a server application that, in rare occasions, can allocate large chunks of
I'm writing an app that has a foreground service, content provider, and a Activity
good day! im developing an app in c++ and winpcap that will list all
I'm debugging an apparent concurrency issue in a largish app that I hack on
Does Ruby have any tools along the lines of pylint for analyzing source code

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.