Just FYI, I went back to the solaris sparc 32 wrapper.conf of archiva
1.0.2 to see the max heap size there.  It was set to 128m  (as
delivered in apache-archiva-1.0.2-bin.zip).  And according to the Sun
Java documentation, if not provided, -Xmx defaults to 64m.  Thus
archiva 1.0.2 stand alone requires twice the heap space of archiva
1.1.1 stand alone.

On Tue, Aug 26, 2008 at 8:17 PM, Brett Porter <[EMAIL PROTECTED]> wrote:
> 2008/8/27 deckrider <[EMAIL PROTECTED]>:
>> Thanks for responding, your comment about archiva not responding makes
>> sense, because it was only after waiting a long time that the 502 was
>> finally returned.
>>
>> The conf/wrapper.conf file has not been altered as delivered from
>> apache-archiva-1.1.1-bin.zip, but I don't see any -Xmx in it.  However I
>> do see:
>>
>> # Maximum Java Heap Size (in MB)
>> #wrapper.java.maxmemory=64
>>
>> As you can see it appears to be commented out.  I'll try uncommenting it
>> and making it larger.  Is there a recommended value?
>
> That's the right way to change it.
>
> The JVM default is usually enough - if you're seeing out of memory
> with that I'd certainly like to know so we can investigate the problem
> or if necedsary increase the default.
>
>>
>> I've lost the logs from earlier in the rush to get things working again,
>> but I'll be sure to keep them if/when this happens again.
>
> Thanks!
> - Brett
>
> --
> Brett Porter
> Blog: http://blogs.exist.com/bporter/
>



-- 
ASCII ribbon campaign:
() against HTML email
/\ against Microsoft attachments
 Information: http://www.expita.com/nomime.html

Reply via email to