cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Re: svn commit: r156697 - in cocoon/branches/BRANCH_2_1_X/src:java/org/apache/cocoon/components/sto re/impl/StoreJanitorImpl.javawebapp/WEB-INF/cocoon.xconf
Date Wed, 09 Mar 2005 22:31:23 GMT
On Mie, 9 de Marzo de 2005, 16:20, vgritsenko@apache.org dijo:
> Author: vgritsenko
> Date: Wed Mar  9 14:20:04 2005
> New Revision: 156697
>
> URL: http://svn.apache.org/viewcvs?view=rev&rev=156697
> Log:
> janitor documentation
> http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/store/impl/StoreJanitorImpl.java?view=diff&r1=156696&r2=156697
> ==============================================================================
> ---
> cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/store/impl/StoreJanitorImpl.java
> (original)
> +++
> cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/store/impl/StoreJanitorImpl.java
> Wed Mar  9 14:20:04 2005
>      /**
>       * Parameterize the StoreJanitorImpl.
>       */
>      public void parameterize(Parameters params) throws ParameterException
> {
>          this.jvm = Runtime.getRuntime();
>          this.minFreeMemory = params.getParameterAsInteger("freememory",
> 1024 * 1024);
> -        this.maxHeapSize = params.getParameterAsInteger("heapsize", 60 *
> 1024 * 1024);
> +        this.maxHeapSize = params.getParameterAsInteger("heapsize",
> 66600000);

1-Why this change?
2-Why only here and not in "this.minFreeMemory"?

This are only questions. I just want to learn. ;-)

Best Regards,

Antonio Gallardo.

Mime
View raw message