|
From: Christian M. <chr...@ta...> - 2013-01-09 03:07:28
|
Hello Geoff,
Happy New Year!
If both properties, i.e. *memory and *memory.percent, are specified, then
*memory takes precedence over the percentage.
The *.percent property specifies the percentage of the total physical
memory of the machine will be used.
So in this case available actually means the total amount of memory
available on the system, and not the available free amount of memory on the
system. I'm sorry if this was misleading, I will update the documentation,
to make it clearer.
Furthermore, will the Wrapper not consider the virtual memory (swap) for
the percentage. In fact I think if possible it should always be avoided
that a JVM will be swapped, since the performance drop is very significant.
On a 32-bit system, please also note that it is not possible for a process
to address more than 2GB memory. Therefore if the memory assignment for
init- and maxmemory would exceed 2GB, the Wrapper will automatically adjust
the value to 2GB.
Please let me know if you have any further question.
Thank you,
Christian Mueller
Tanuki Software, Ltd.
On Tue, Jan 8, 2013 at 6:42 PM, <geo...@rb...> wrote:
> **
> What happens when both the 'wrapper.java.maxmemory.percent' and the
> 'wrapper.java.maxmemory' settings are used?
>
> Which setting takes precedence or do they work together?
>
> Also the help files mention "memory thresholds relative to the amount of
> physical memory available on the system". Does available mean total
> installed memory or the amount of memory currently free? Does "physical
> memory" mean just the actual "physical" memory or does it include swap
> space?
>
> For example, on a 64 bit system we have 32GB of memory, 30Gb of that
> free.
>
> If wrapper.java.maxmemory is set to 4096M and the wrapper.java.maxmemory
> .percent is set to 90%; is the Java max memory set to 4GB or ~29GB (90%
> of 32GB) or ~27GB (90% of 30GB)?
>
> If we now add a further 32GB of swap, giving a virtual total of 64GB of
> memory how does that affect things?
>
> Thanks.
>
>
> ***********************************************************************************
>
> The Royal Bank of Scotland plc. Registered in Scotland No 90312.
> Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
> Authorised and regulated by the Financial Services Authority. The
> Royal Bank of Scotland N.V. is authorised and regulated by the
> De Nederlandsche Bank and has its seat at Amsterdam, the
> Netherlands, and is registered in the Commercial Register under
> number 33002587. Registered Office: Gustav Mahlerlaan 350,
> Amsterdam, The Netherlands. The Royal Bank of Scotland N.V. and
> The Royal Bank of Scotland plc are authorised to act as agent for each
> other in certain jurisdictions.
>
> This e-mail message is confidential and for use by the addressee only.
> If the message is received by anyone other than the addressee, please
> return the message to the sender by replying to it and then delete the
> message from your computer. Internet e-mails are not necessarily
> secure. The Royal Bank of Scotland plc and The Royal Bank of Scotland
> N.V. including its affiliates ("RBS group") does not accept responsibility
> for changes made to this message after it was sent. For the protection
> of RBS group and its clients and customers, and in compliance with
> regulatory requirements, the contents of both incoming and outgoing
> e-mail communications, which could include proprietary information and
> Non-Public Personal Information, may be read by authorised persons
> within RBS group other than the intended recipient(s).
>
> Whilst all reasonable care has been taken to avoid the transmission of
> viruses, it is the responsibility of the recipient to ensure that the
> onward
> transmission, opening or use of this message and any attachments will
> not adversely affect its systems or data. No responsibility is accepted
> by the RBS group in this regard and the recipient should carry out such
> virus and other checks as it considers appropriate.
>
> Visit our website at www.rbs.com
>
> ***********************************************************************************
>
>
>
> ------------------------------------------------------------------------------
> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only - learn more at:
> http://p.sf.net/sfu/learnmore_122512
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
|