Sagewire Logo

why does Sun JVM have a hard max mem limit of 93meg on 2gig pc with no setting done

5 Message(s) by 3 Author(s) originally posted in java programming


From: mistonl Date:   Wednesday, April 18, 2007
have a several PCs running WinXP SP2 and W2k SP2 latest patches. all have AMD
or Intel chips with at least 1 gig ram.

have JAVA applet that at times requires ~250 meg of ram. on some box es it
runs in less than 1 min on other takes over 30 mins.

on ones with 30 mins I notice mem never goes over 150 meg ram usage in task
manager even when box has 600 meg free. on boxes with 1 min time it goes to
250 megs and finishes.
I have tried all versions of Sun JVM from 1.4.2 to 1.6
I went to http://www.duckware.com/support/JAVAhelp.html and noticed that on
boxes that are fast in the JAVA VM: Your JAVA VM reports the following
diagnostic information: section in max mem it said >128 meg or >256 etc

on slow boxes its says max memory : 93 meg.

there are no settings in the JAVA plugin

can anybody please explain


From: Andrew Thompson Date:   Thursday, April 19, 2007
wrote in message:
.
have JAVA applet that at times requires ~250 meg of ram.
.
can anybody please explain



Please help the reader by including upper case letters
at the start of each sentence, and a question mark at
the end of questions. You wouldn't want to make it
hard for us,'d you?

As far as the memory and applets goes - I do not know,
*but* you might fix the entire problem by launching the
applet using web start, which also allows you to specify
memory settings.

Here are examples of:
1) Launching an applet.
<http://www.physci.org/jws/#jtest>
2) Requesting extra memory for an application.
<http://www.physci.org/jws/#giffer>

--
Andrew Thompson
http://www.athompson.info/andrew/

Message posted via JAVAKB.com
http://www.JAVAkb.com/Uwe/Forums.aspx/JAVA-general/200704/1


From: mistonl Date:   Thursday, April 19, 2007
wrote in message:
wrote in message:
..
have JAVA applet that at times requires ~250 meg of ram.
..
can anybody please explain
Please help the reader by including upper case letters
at the start of each sentence, and a question mark at
the end of questions. You wouldn't want to make it
hard for us,'d you?
As far as the memory and applets goes - I do not know,
*but* you might fix the entire problem by launching the
applet using web start, which also allows you to specify
memory settings.
Here are examples of:
1) Launching an applet.
<http://www.physci.org/jws/#jtest>
2) Requesting extra memory for an application.
<http://www.physci.org/jws/#giffer>


Sorry it was written after a 16 hour day of work dealing major
production problems.

The issue is some PC with same OS image and settings have a hard limit of 93
meg. In the JAVA Console it never goes above that. Others have a soft limit.
We understand that we can change the settings on a PC to increase it, but we
have 100s of PCs all over the country that are having this issue. We really
want to determine why this is occurring get to the root cause.


From: Joshua Cranmer Date:   Thursday, April 19, 2007
wrote in message:
The issue is some PC with same OS image and settings have a hard limit of 93
meg. In the JAVA Console it never goes above that. Others have a soft limit.
We understand that we can change the settings on a PC to increase it, but we
have 100s of PCs all over the country that are having this issue. We really
want to determine why this is occurring get to the root cause.



Two questions:
1. Are you sure that the OS image is really the same?
2. If software is not the problem, then hardware is: I suspect that the
machines have different hardware (or configuration for the hardware)
which is causing this problem, if the answer to #1 is an unqualified yes.


From: mistonl Date:   Friday, April 20, 2007
wrote in message:
wrote in message:
The issue is some PC with same OS image and settings have a hard limit of 93
meg. In the JAVA Console it never goes above that. Others have a soft
limit.
We understand that we can change the settings on a PC to increase it, but we
have 100s of PCs all over the country that are having this issue. We really
want to determine why this is occurring get to the root cause.
Two questions:
1. Are you sure that the OS image is really the same?
2. If software is not the problem, then hardware is: I suspect that the
machines have different hardware (or configuration for the hardware)
which is causing this problem, if the answer to #1 is an unqualified yes.



1 - Yes exact same image

2 - I have now detected this on PCs and notebooks and servers under w2k win
2003 server, win xp sp2, from IBM and others, with AMD and Intel chips and all
types of different hardware



Next Message: Programming to interfaces with beans?


Blogs related to why does Sun JVM have a hard max mem limit of 93meg on 2gig pc with no setting done

Re: why does Sun JVM have a hard max mem limit of 93meg on 2gig pc ...
Mistton wrote: > The issue is some PC with same OS image and settings have a hard limit of 93 > meg. In the Java Console it never goes above that. Others have a soft limit. > We understand that we can change the settings on a PC to ...

Re: why does Sun JVM have a hard max mem limit of 93meg on 2gig pc ...
When I google for "java applet max memory", I get: Sun Java Plugin - How to Increase the Java Applet Memory Limit Installing Java 1.5 along may fix your out of memory errors. ... Optional: To view your current Java applet 'Max Mem', ...

Re: why does Sun JVM have a hard max mem limit of 93meg on 2gig pc ...
on slow boxes its says max memory: 93 meg. Please, please do not multi-post. You posted the same question in clj.programmer as "why does Sun JVM have a hard max mem limit of 93meg on 2gig pc with no setting modified?" and cl.java as ...

why does Sun JVM have a hard max mem limit of 93meg on 2gig pc ...
comp.lang.java.programmer: why does Sun JVM have a hard max mem limit of 93meg on 2gig pc with no setting modified?

why does Sun JVM have a hard max mem limit of 93meg on 2gig pc ...
Summary: or Intel chips with at least 1 gig ram. ... on ones with 30 mins i notice mem never goes over 150 meg ram usage in task ... on boxes with 1 min time it goes to ... boxes that are fast in the Java VM: Your Java VM reports the ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional