No subject


Sat Nov 12 19:29:10 PST 2005


GUI, JVM is immediately taken at about 10 MB of memory from
the system, with AWT up to 15 MB and with Swing starting from
15 MB.
If more memory is required, JVM will take if from the system again
and, when limit will passed, it throws OutOfMemory exception. Limit
may be set using JVM parameters (java -help). But I don't know how
to set minimum.

"Gart, Mitch" wrote:

> I don't know the answer but am curious.  If you go from 1 to 2 to
> 3 applets does the memory usage go up a lot with each one?
>
> - Mitch
>
> > -----Original Message-----
> > From: SAI VENKATESH [mailto:sai at nestec.net]
> > Sent: Wednesday, March 22, 2000 6:17 AM
> > To: advanced-java at xcf.berkeley.edu
> > Subject: A few questions on Memory Usage of Applets
> >
> > Dear all,
> >
> > I have about 15 Applets (each containing one Swing component)
> > in an HTML
> > file. When I see this file in browser, with java plug-in the
> > memory usage is
> > 25 to 30 MB. Actually each of these applets are just simple
> > applets drawing
> > some figures like rectangle/circle/drawing a text(with very
> > few logic). Is
> > it possible to reduce the memory useage programatically/JVM
> > setting? Why the
> > memory usage of applets are so high? Is there any
> > workarounds? How much
> > memory will be consumed by a simple applet having just a
> > Swing component. Is
> > there any benchmarking done on memory usage of applets?
> >
> > Any pointers to this is welcome. Thanks in advance.
> >
> > Regards
> > Sai

--
    (  (       Evgeny Gesin
    ) ) (      Motorola, Cellular Software Engineering
  ( (  ) )     http://www.geocities.com/evgenygesin/index.html
 )  )  (  (
____________   Join free "JAVA DESK":
\          /\  http://www.egroups.com/group/java-desk/info.html
 \  JAVA  /\/
__\______/__   Any statements in this message are personal opinions
------------   and do not represent the views of Motorola.




---
To unsubscribe, mail advanced-java-unsubscribe at xcf.berkeley.edu
To get help, mail advanced-java-help at xcf.berkeley.edu



More information about the Advanced-java mailing list