--- In Dave Cramer <> wrote:
>
> You need to use -Xmx -Xms to set memory.
> Any JVM running on an embedded platform will likely set those low
>
> On 28-May-08, at 11:42 AM, Brian Jewell wrote:
> >
> > I have attempted to use the Linux "free" command to track memory,
> > but have reached the conclusion that there is only a loose
> > relationship between the amount of free memory that the Linux kernel
> > thinks is available and the amount of free memory the Java virtual
> > machine thinks is available.
> >
I agree with Dave. Those command-line arguments are what you need.
The reason the command-line 'free' command is of only limited help is
(as far as I know) that when the JVM starts up it asks the OS for all
the memory it (the JVM) thinks it will need. Then it manages that
memory internally. So as your Java program uses and frees memory, the
OS does not see this.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|