<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 19, 2016, at 4:53 PM, Howard Lovatt via swift-users <<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Is there a way to find out how big an object is on the heap?</div></div></blockquote><br class=""></div><div>Yes, the <a href="http://swiftdoc.org/v2.2/func/sizeof/" class="">sizeof()</a> function.</div><div><br class=""></div><div>—Jens</div></body></html>