Re: NSTableView memory usage
Re: NSTableView memory usage
- Subject: Re: NSTableView memory usage
- From: John Stiles <email@hidden>
- Date: Mon, 14 Apr 2008 09:34:33 -0700
I think Instruments could do a better job of telling you what's going
wrong than we could.
FWIW, the table view doesn't even know the contents of most of your 1500
rows. It asks for them from the data source as it needs them, and
probably only knows the values of the currently visible cells.
Valentin Dan wrote:
Hi,
I have a NSTableView object with 3 columns and an average of 30 characters per cell.
At 1500 rows, “ps –A -u” reports it uses 39.0% memory (there is 1GB of memory on this Mac). After the panel containing the NSTableView is closed, the app uses 1.8% (just as before opening it). The panel in question doesn’t have anything else on it …
So is this a major memory leak or a normal situation?
Thanks!
___________________________________________________________________
Valentin Dan, Software Developer Direct: +1 905 886 1833 ext.3047
Email: HYPERLINK "mailto:email@hidden"email@hidden Office: +40 356-710158
Masstech Group Inc. Fax: +40 256-220912
HYPERLINK "http://www.masstechgroup.com/"http://www.masstechgroup.com
THIS MESSAGE IS INTENDED ONLY FOR THE ADDRESSEE. IT MAY CONTAIN PRIVILEGED OR CONFIDENTIAL INFORMATION.ANY UNAUTHORIZED DISCLOSURE IS STRICTLY PROHIBITED.IF YOU HAVE RECEIVED THIS MESSAGE IN ERROR, PLEASE NOTIFY US IMMEDIATELY SO THAT WE MAY CORRECT THE RECORDS. PLEASE THEN DELETE THE ORIGINAL MESSAGE. THANK YOU.
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.13/1376 - Release Date: 13.04.2008 13:45
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden