Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Virtual Machine / May 2005

Tip: Looking for answers? Try searching our database.

jdk-1_5_0_03-linux-amd64  out of swap space with NIS user

Thread view: 
carsten.sponsel@web.de - 12 May 2005 10:33 GMT
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?


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.