Re: Memory / Swap
Leo Mekenkamp <[email protected]>
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <1083317022.4337.11.camel@jupiter> |
On Fri, 2004-04-30 at 11:24, John Pinney wrote:
> Is it safe / advisable to make ozone use lots of swap space? I can certainly
> start an ozone server with more than my machine's physical memory (although
> it takes a long time to start up). I have some applications which are running
> out of memory, but I don't want to crash the server!
You should never be able to crash a java program (or any program for
that matter) by allowing it to use more than available physical memory;
the OS manages vm. As ozone is nothing more than a java program it
should do no harm to allow it to use vm. Performance is another thing.
You might want to take a look at the config.properties settings of your
database; if you *exactly* specify how much memory the jvm can (and
will) use, then startup times are drastically lower. Note however that
if that setting does not correspond to actual jvm memory (-Xmx option),
you can easily end up with OutOfMemoryErrors.
Cheers,
Leo
--
.--. .---------------.----------------------------------------.
|o_o | | Leo Mekenkamp | Free, as in 'beer' and as in 'speech': |
|:_/ | | +31 641234919 | office software http://openoffice.org |
// \ \ | | 100% java odbms http://ozone-db.org |
(| | ) | Long Live Tux | e-mail & browser http://mozilla.org |
/'\_ _/`\ | | operating system http://linux.org |
\___)=(___/ `---------------'----------------------------------------'
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click