AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sun Java Plugin Memory Issue

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JVM, native methods and hardware
View previous topic :: View next topic  
Author Message
schott
Guest





PostPosted: Mon Nov 29, 2004 3:52 pm    Post subject: Sun Java Plugin Memory Issue Reply with quote



Hello Everybody.

I'm responsible for hosting a java Applet which has to use a lot of
memory and the SUN JVM.

Is there way to determine how much memory can be used by the jvm ?

I know the -Xmx and -Xms options but is there a way to find usefull
values automated ?

For a rule of thumb i found hints like
"use the half of the system memory , etc..) but on some systems that
does not work, the ie and netscape "crash" when i follow that rule.

I found out that this happens when the -Xmx value is set to high, if i
now go down with that value step by step till the ie (Netscape) does
not crash everything works ok, but me and some other people are not
very happy with the idea to redirect everybody who wants to access the
applet to a site with that trial and error procedure.

I would be very happy if anybody can give me a little help on that.

Another question is:

Does Anybody know a way to set the -Xmx and -Xms options used by the
JavaPlugin
automated by script or application to make it more easy for people to
access applets that use much memory without the need to set the -Xmx ,
etc. options by hand in the java control panel ?

Any help on that would be appreciated too.

If that group was the wrong place for that questions i apologize for
wasting your time.

Best Regards

Christian Schott
Back to top
Andrew Thompson
Guest





PostPosted: Mon Nov 29, 2004 4:26 pm    Post subject: Re: Sun Java Plugin Memory Issue Reply with quote



On 29 Nov 2004 07:52:51 -0800, schott wrote:

Quote:
Does Anybody know a way to set the -Xmx and -Xms options used by the
JavaPlugin
automated by script or application to make it more easy for people to
access applets that use much memory without the need to set the -Xmx ,
etc. options by hand in the java control panel ?

JWS can set the memory size AFAIU.

As a suggestion. Use a helper application to determine the best
size of the memory given whatever formula you have devised, then
write an appropriate .JNLP file based on that.

Quote:
If that group was the wrong place for that questions i
apologize for wasting your time.

This (c.l.j.machine) is a good group for this type of question,
but please set follow-ups to a single group. I will not do that
with my reply as I understand that the .de java group is quite
active, and you might also get good responses from there.

HTH

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JVM, native methods and hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.