A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Max size of java class
Joined: Jan 11, 2001
Mar 12, 2002 09:35:00
What is the maximum size(in kilobytes) a
class can be? Indeed can a class be any size?
Joined: Sep 29, 2000
Mar 12, 2002 12:32:00
In theory there is no limit, however a particular machine may throw an
if there is not enough memory to completely load the class.
Joined: Jan 07, 2002
Mar 12, 2002 14:32:00
Well there are actually practical limits on a variety of entities, like size of identifier names, numbers of methods, limits on parameter lists, etc; So there are upper limits on how big a class file can be.
(Thanks to zakaria haque for the link)
[ March 12, 2002: Message edited by: Rob Ross ]
I agree. Here's the link:
subject: Max size of java class
An error in K&B certification book
size of a file
Such thing as dynamic array's in java?
size of a blank class
Inheritance --- Assigning Sub class Object to Super Class Reference
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014