Bill Shannon <bill.shan...@oracle.com> wrote: > I have a java program that is failing because it does something that calls > fork1(), which fails with ENOMEM (confirmed using truss): > > 27010/2: fork1() Err#12 ENOMEM > > I've used both the 32-bit and 64-bit versions of the JVM. Using the 64-bit > version, I see the heap expand to just over 4GB before it forks: > > 27010/30: brk(0x107DE3D90) = 0 > > I have almost 160 GB of swap space: > > $ swap -s > total: 806336k bytes allocated + 167872k reserved = 974208k used, 159746184k > available > > It doesn't seem like it can possibly be running out of swap space.
A 32 bit process is not able to grow up to 4 GB, may this be the reason for your problem? If the 64 bit version does not fail, this may be the reason. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de (uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org