Discussion:
Java 5 issue on VMS Alpha
(too old to reply)
Arne Vajhøj
2024-01-18 02:20:26 UTC
Permalink
This version of Java is way out of support both generally
by SUN/Oracle and for VMS by HP(E).

But I still has it running.

Playing with some web services in Tomcat I tend to end up
with the following error:

global_alloc: out of global space, file
JDEV:[fastvm.srcjava.runtime]globals.c;1, line 50

and Tomcat shutdown.

I have tried increasing -Xmx and -XX:MaxPermSize,
but it did not help.

I have tried increasing PGFLQUOTA, but it did not help.

Any suggestions?

Arne
Simon Clubley
2024-01-18 13:30:27 UTC
Permalink
Post by Arne Vajhøj
Any suggestions?
If you turn on image accounting, do you get any extra clues ?

Failing that, running your failing command from a newly logged in process
and then _immediately_ logging out will result in the process accounting
record showing some peak values used. You may be able to get some
clues from there, or at least eliminate some possible causes.

Simon.
--
Simon Clubley, ***@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.
Arne Vajhøj
2024-01-18 14:14:01 UTC
Permalink
Post by Simon Clubley
Post by Arne Vajhøj
Any suggestions?
If you turn on image accounting, do you get any extra clues ?
Failing that, running your failing command from a newly logged in process
and then _immediately_ logging out will result in the process accounting
record showing some peak values used. You may be able to get some
clues from there, or at least eliminate some possible causes.
It is running in a separate process, so I did have logout accounting
info.

I had also checked and double checked the "Peak virtual size"
to PGFLQUOTA - even tried increasing PGFLQUOTA anyway just in
case a gigantic allocation failed.

But after your post explicit talking about logging in and
logging out then I looked again and I noticed something -
the process is not running under the account starting the
process (SYSTEM) but under the same account as
Apache httpd (APACHE$WWW).

Slapping myself hard.

After increasing PGFLQUOTA on that account then everything worked fine.

A debug printf with a reference to file and line number
in the C source is obviously not up to neither VMS nor Java
error reporting standard, but given that SUN/Oracle stopped
support in 2009 and HPE in 2020 then I will have to live
with that.

So thanks.

Arne

Loading...