Hello,
i have a problem with the linux amd64 version of java 1.5 update 3. If
i'm logged in as a NIS user and i call "./java" from the
/usr/java/jdk1.5.0_03/bin directory, i get the following error:
Exception java.lang.OutOfMemoryError: requested 24 bytes for C_Heap:
ResourceOBJ. Out of swap space?
If i'm logged in on the same machine as a local user and i do the same,
it works.
What could be the problem?
thanks in advance
Carsten Sponsel
P.S.: I already had the problem with JDK 1.4.2.
Boudewijn Dijkstra - 12 May 2005 16:38 GMT
> Hello,
>
[quoted text clipped - 9 lines]
>
> What could be the problem?
Maybe there are process memory management restrictions for NIS users?
carsten.sponsel@web.de - 13 May 2005 08:49 GMT
How can i check if there are such restrictions? Usually i'm logged in
as NIS user and i have no further problems with other applications.
Most of my applications running use more than 100 MB, i can't imagine
that a simple call to "java" uses more :-(
carsten.sponsel@web.de - 19 May 2005 09:40 GMT
I've found the problem. The NIS user has the environment variable
MALLOC_CHECK_ set - that is used for some malloc debuggers. Removing
that environment variable i can run java without problems.
Why is that a problem?
Boudewijn Dijkstra - 19 May 2005 11:18 GMT
> I've found the problem. The NIS user has the environment variable
> MALLOC_CHECK_ set - that is used for some malloc debuggers.
What value was it set to?
> Removing that environment variable i can run java without problems.
>
> Why is that a problem?