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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:43:58+00:00 2026-05-15T00:43:58+00:00

While there are already quite a few posts about leaks around UIWebView, mine is

  • 0

While there are already quite a few posts about leaks around UIWebView, mine is a bit more special, I believe, and thus deserves its own post here.

I see a reproducible large leak every time I load a Office document such as a Word or Excel file.

For instance, every time I display a 180KB .doc file, I get a 100KB leak. And that happens with both the simulator and an actual device, running OS 3.1.3.

The leak is not visible with the Leaks instrument but only by looking at the malloc instances via the ObjectAlloc instrument.

Here’s a picture from the instruments trace:

alt text
(source: tempel.org)

I’ve also made a demo project, UIWebView-Leak.zip, so you can verify this yourself.

To see the leak, use the ObjectAlloc instrument, switch to the view where you see individual allocation objects, and sort by size so that you see the large ones in a group, just like in my picture above. Then view a Office document a few times and find the Malloc objects that keep staying “Live” even after the actual UIWebView has been freed.

Is this a known bug? Or is there any way I can avoid these leaks? I.e, have you successfully shown Office documents on an iPhone withing getting such leaks?

Note: I’ve reported this as a bug to Apple now, too (ID 7950594)

I am still waiting for someone (including Apple) to confirm this as a true leak or show why it isn’t (i.e. that I do something wrong or make wrong assumptions)

  • 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-15T00:43:59+00:00Added an answer on May 15, 2026 at 12:43 am

    Turns out this is a real bug. Apple just told me that they’ve fixed it in an upcoming iPhone OS release.
    No workaround.

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

Sidebar

Related Questions

There are a few questions on SO already regarding LINQ pivots and while a
While it's my understanding that there's no fundamental reason a program written for 32-bit
While there are 100 ways to solve the conversion problem, I am focusing on
I am building a multithreaded system that works like this: While there are entities:
What are some key UI design tips that every developer should know? While there
I've switch from VB.NET to C# several months ago, while there are a lot
On linux, I am opening a pseudo tty on the master side. While there
Is there an easy way of using the RegularExpressionValidator control while ignoring white space?
while writing a custom attribute in C# i was wondering if there are any
Is there any way to find all references to an object while debugging?

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.