🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #872

Object size and limits

#872
From: Kjartan Emilsson
Date: Wed, 09 Sep 1992 13:29
20 lines
1090 bytes
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
Technical Details
Message-ID: <28935@sophia.inria.fr>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!corton!sophia!kurosawa.cica.fr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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