home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!corton!sophia!kurosawa.cica.fr
- From: kjartan@kurosawa.cica.fr (Kjartan Emilsson)
- Newsgroups: comp.sys.next.programmer
- Subject: Object size and limits
- Keywords: objects,limits
- Message-ID: <28935@sophia.inria.fr>
- Date: 9 Sep 92 13:29:31 GMT
- Sender: news@sophia.inria.fr
- Reply-To: kjartan@kurosawa.cica.fr
- Lines: 20
-
- Hi!
- Here are a few questions I would be interested in knowing the answers to,
- if somebody knows them:
-
- How can you estimate the memory usage of an instance of an object in a
- program, beside using NXWriteObject and looking at the file size ? Is it
- the size of the declared instance variables plus method selectors, or are
- there some additional headers ? Are there any limits to the number of
- instances of objects and to the number of loaded classes in a program
- besides simple memory limitations ?
-
- Is there any bottleneck in the run-time system when the number of
- instances/classes increases ?
-
- I'm thinking of order of magnitudes like about 5000 instances of 500+
- classes/categories.
-
- Thanks,
-
- -Kjartan
-