kornel c wrote:
> 
> >Java is a memory hog... it's not JBuilder, it's Java. I've found that
> >my system was pretty much useless for any Java work at 64M. When Linux
> >JDKs catch up with some of the improvements now being enjoyed in other
> >environments (like HotSpot), the situation should improve.
> 
> I agree, It is the JDK, at least on Solaris. My machine with 64MB wasn't
> enough to
> run Jini. I could squeeze the basic services into the existing memory
> (124 virtual memory) with very careful tuning of the "experimental"
> switches of the JVM.  I don't remember which release of JDK 1.2
> that was. (There have been too many)

Be careful of getting too hung up on the numbers. Memory management is a
bit of an art, and different JDKs take different approaches to fitting
Java's notion of memory management to the underlying platform
capabilities. In the straightforward approach taken by many JDK
implementations, an app could use as much memory as the JVM allocates,
even if it only needs a small percentage of that memory for live
objects. Perhaps NT implementations are more clever about dealing with
this than other implementations.

If you have a pretty good idea how much memory the app really needs for
live objects, and size the JVM accordingly (for example, with the JDK1.2
-Xmx option), you'll see similar footprints on different platforms.

Nathan

> 
> I haven't run JDK 1.2 on Linux. However, I did on Solaris and NT.
> I disagree with the poster who essentially said JDK-s tend to take up
> equal amounts of memory on various platforms. On NT an instance
> of the JDK for me only seems to take up 4 MB. On Solaris each intance
> took up 20 MB for a "Hello World" until I tweaked it down to 4 MB manually.
> 
> -kornel
> 
> ----- Original Message -----
> From: Nathan Meyers <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: Brian Pomerantz <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Friday, December 17, 1999 2:34 PM
> Subject: Re: Blackdown JDK vs Sun/Inprise
> 
> >On Fri, Dec 17, 1999 at 03:34:01PM -0500, [EMAIL PROTECTED]
> wrote:
> >>
> >>
> >> Hi,
> >> The success of any product depends on the advantages it offers and
> failure
> >> always depends on restrictions it imposes. Most of the users will be
> using 64MB
> >> RAM systems. For JBuilder on Linux should they add more memory? I do not
> agree
> >> with you. If it is not on Linux the product would have gone back by now.
> In
> >> future this memory requirement is to be addressed.
> >
> >
> >Nathan
> >
> >>
> >> regards,
> >> syam
> >>
> >>
> >>
> >> ----------------------------------------------------------------------
> >> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> >> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
> >
> >----------------------------------------------------------------------
> >To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to