Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-1994

iOS: Memory leaks in TableView w/ remote image test cases

    Details

      Description

      {html}<div><p>After getting an intermittent crash, I was using instruments to
      look for mem leaks and encountered this.<br>
      mobile sdk build 1.4.2.4c5cd4a, 4th gen ipod 4.1</p>
      <p>1.BaseUI>Views>Table Views>Table with controls<br>
      2.scroll up and down a few times<br>
      3.BaseUI>Views>Table Views>Table with controls<br>
      4.scroll up and down a few times<br>
      5.if you are still not seeing mem leaks in instruments, back up one
      level in the app and scroll the table view test case list</p>
      <p>results:</p>
      <p>Leaked Object # Address Size Responsible Library Responsible
      Frame<br>
      TiUIImageViewProxy 2 < multiple > 2048 KitchenSink -[TiModule
      createProxy:forName:context:]<br>
      NSRecursiveLock 2 < multiple > 160 KitchenSink -[TiViewProxy
      init]<br>
      NSConcreteMutableData 2 < multiple > 64 KitchenSink
      -[ASIHTTPRequest startRequest]<br>
      <strong>NSCFDictionary 0xb461fd0 48 KitchenSink -[ASIHTTPRequest
      addRequestHeader:value:]<br>
      NSCFString 0xb45da60 32 CFNetwork
      HTTPMessage::createRequestLine(</strong>CFString const<em>, __CFURL
      const</em>, <strong>CFString const*, unsigned char)<br>
      ASIHTTPRequest 0xb45ca00 432 KitchenSink +[ASIHTTPRequest
      requestWithURL:]<br></strong>NSCFDictionary 0xb45bf70 48 CFNetwork
      HTTPMessage::initialize()<br>
      <strong>NSCFType 0xb457410 80 KitchenSink -[ASIHTTPRequest
      main]<br>
      Malloc 16 Bytes 0xb456600 16 KitchenSink -[ASIHTTPRequest
      addRequestHeader:value:]<br>
      NSRecursiveLock 0xb4565b0 80 KitchenSink -[ASIHTTPRequest
      initWithURL:]<br></strong>NSArrayM 0xb455b50 32 KitchenSink
      -[ASIHTTPRequest initWithURL:]<br>
      <strong>NSOperationInternal 0xb455ac0 144 Foundation -[NSOperation
      init]<br>
      Malloc 16 Bytes 0xb4516d0 16 CFNetwork
      HTTPMessage::internalSetHeader(</strong>CFString const<em>,
      __CFString const</em>, long)<br>
      Malloc 16 Bytes 0xb42ac90 16 KitchenSink -[ASIHTTPRequest
      addRequestHeader:value:]<br>
      NSCFNumber 0xb23e950 16 Foundation -[NSPlaceholderNumber
      initWithUnsignedInt:]<br>
      Malloc 352 Bytes 0xb23d850 352 Foundation -[NSConcreteMutableData
      appendBytes:length:]<br>
      <strong>NSDate 0xb23d100 16 KitchenSink -[ASIHTTPRequest
      handleBytesAvailable]<br></strong>NSArrayM 0xb229d80 32 Foundation
      +[NSHTTPCookie <em>cf2nsCookies:]<br>
      ImageLoaderRequest 0xb036b20 32 KitchenSink -[ImageLoader
      loadImage:delegate:userInfo:]<br>
      ASIHTTPRequest 0x7b79fa0 432 KitchenSink +[ASIHTTPRequest
      requestWithURL:]<br>
      <strong>NSCFDictionary 0x7b79d40 48 KitchenSink -[ASIHTTPRequest
      addRequestHeader:value:]<br>
      Malloc 16 Bytes 0x7b79bc0 16 KitchenSink -[ASIHTTPRequest
      addRequestHeader:value:]<br></strong>NSArrayM 0x7b79ba0 32
      KitchenSink -[ASIHTTPRequest initWithURL:]<br>
      <strong>NSOperationInternal 0x7b79b10 144 Foundation -[NSOperation
      init]<br>
      Malloc 16 Bytes 0x7b79900 16 KitchenSink -[ASIHTTPRequest
      addRequestHeader:value:]<br>
      NSRecursiveLock 0x7b798b0 80 KitchenSink -[ASIHTTPRequest
      initWithURL:]<br>
      ImageLoaderRequest 0x7b79860 32 KitchenSink -[ImageLoader
      loadImage:delegate:userInfo:]<br>
      Malloc 352 Bytes 0x7b757f0 352 Foundation -[NSConcreteMutableData
      appendBytes:length:]<br></strong>NSDate 0x7b6a140 16 KitchenSink
      -[ASIHTTPRequest handleBytesAvailable]<br>
      __NSArrayM 0x7b51ab0 32 Foundation +[NSHTTPCookie</em>
      cf2nsCookies:]</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              blainhamon Blain Hamon
              Reporter:
              thomashuelbert Thomas Huelbert
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-1769
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration