ts-7000
[Top] [All Lists]

[ts-7000] Re: Java out-of-memory issue

To:
Subject: [ts-7000] Re: Java out-of-memory issue
From: "mikeciaraldi" <>
Date: Wed, 28 May 2008 18:19:15 -0000
--- 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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU