Re: Java Memory question
Eric wrote:
Are you just being intentionally difficult?
No, you are. I gave correct information that happens to contradict
some of your misconceptions.
You brought up physical memory by asking about OutOfMemoryError, which
occurs when the JVM runs out of physical memory.
I'm using Oracle's Webstart. It is one virtual machine process with
access to 2 physical machines. I don't know how it manages it's
No, it's two virtual machine processes. All WebStart does is download
an application to your machine and run it locally. If it's a client-
server application, then you have two processes, with their own
memory, on different (virtual) machines. It's a launcher, that's all,
and it does not create a single virtual machine across two machines,
not at all.
<http://download.oracle.com/javase/6/docs/technotes/guides/javaws/
index.html>
<http://download.oracle.com/javase/tutorial/deployment/webstart/
index.html>
virtual memory between those 2 machines. It obviously needs physical
memory on both machines to copy an object from one machine to the
other. I only see settings for the JNLP for min and max memory, not
server memory and client memory.
The OutOfMemoryError is an error exception if you want to get
technical. My error log threw one big stack of messages containing
OK. I'll accept that.
this:
Caused by: java.lang.OutOfMemoryError: Java heap space
ultimately throwing this:
java.lang.reflect.InvocationTargetException
Are you just here to stir up trouble or did you have an actual helpful
suggestion on reducing memory usage on copying objects
I do not believe that providing correct information to counteract your
misconceptions constitutes "stirring up trouble". You should be more
polite and less confrontational.
Let us summarize:
- OOME (OutOfMemoryException) is a function of physical memory. You
have a client application (the one downloaded by WebStart) that is
running out of physical memory. There is not "one virtual machine"
encompassing both the server and client.
I am shocked at your ingratitude and pissy attitude.
--
Lew