[Info-vax] help needed diagnosing/debugging java.lang.OutOfMemoryError
Arne Vajhøj
arne at vajhoej.dk
Mon Aug 15 20:57:29 EDT 2011
On 8/15/2011 8:43 PM, VAXman- @SendSpamHere.ORG wrote:
> In article<4e4994ad$0$312$14726298 at news.sunsite.dk>, =?ISO-8859-1?Q?Arne_Vajh=F8j?=<arne at vajhoej.dk> writes:
>> On 8/15/2011 2:11 PM, VAXman- @SendSpamHere.ORG wrote:
>>> What the subject says...
>>>
>>> An application in development for use on an OpenVMS system is tossing up
>>> this error. I've increased the page file quota for APACHE$WWW to 1M and
>>> there is still this error. The logs produced by this Java stuff do not
>>> tell much. Is there some way to get a dump or more logging?
>>>
>>> PS. I don't do Java (unless it's in my coffee mug) and thus, I'm not the
>>> one developing the app.
>>
>> First: 512 MB is not that much today.
>>
>> Second: what value does the -Xmx option for the java command? (it also
>> limits the maximum memory that can be allocated)
>
> Well, it pukes with -Xmx384m
Then try 512m 768m 1024m (and make sure that there is backing for it).
>> Third: APACHE$WWW seems to indicate that it is Tomcat - does Tomcat
>> actually run under that account (Apache and Tomcat does not need to
>> run under same account)
>
> If Apache launches it, it's APACHE$WWW.
There are multiple way of running Tomcat.
But typical it is complete different from PHP, Perl etc..
mod_php, mod_perl run the script in the Apache process.
Tomcat is typical a separate process running under the
UIC that did the @SYS$STARTUP:APACHE$JAKARTA_STARTUP.
It typical listens for HTTP requests on port 8080
(in which case Apache HTTPD is not needed at all) and
on port 8009 for AJP requests.
The last works with Apache HTTPD as:
---(HTTP port 80)---Apache HTTPD-mod_jk---(AJP port 8009)---Tomcat
I believe it is possible to get Apache HTTPD to run Tomcat in
process with either mod_jk or mod_jk2, but I have never seen it
done.
Long explanation - but check if it actually is running under
APACHE$WWW, because it is not given.
Arne
More information about the Info-vax
mailing list