List Info

Thread: ibm java and linux emulation




ibm java and linux emulation
user name
2006-03-18 23:49:24
Hi,

After getting the suse100_* linux libs installed under
macppc, i'm
trying to get java working under macppc.
I installed the suse package for the IBM java virtual
machine, but i
can't get this working, all i get is:

[ Unable to allocate an initial java heap of 4194304 bytes.
]
[ **Out of memory, aborting** ]
[  ]
[ *** panic: JVMST016: Cannot allocate memory for initial
java heap ]
[1]   Abort trap (core dumped) /usr/pkg/emul/li...

even after playing with unlimit, i still get this problem.

It looks like the program is doing some mmap call that
always do fail.
In the result of ktrace -di -tA , i get a list of:

6379      1 java     CALL
mmap(0x10000000,0x20000000,7,0x22,0xffffffff,0)
6379      1 java     RET  mmap -1 errno 12 Cannot allocate
memory
6379      1 java     CALL
mmap(0x10000000,0x1fae2000,7,0x22,0xffffffff,0)
6379      1 java     RET  mmap -1 errno 12 Cannot allocate
memory
6379      1 java     CALL
mmap(0x10000000,0x1f5d0000,7,0x22,0xffffffff,0)
6379      1 java     RET  mmap -1 errno 12 Cannot allocate
memory
6379      1 java     CALL
mmap(0x10000000,0x1f0cc000,7,0x22,0xffffffff,0)
6379      1 java     RET  mmap -1 errno 12 Cannot allocate
memory

The full kdump output for this run is at:
http:/
/www.loria.fr/~reilles/divers/kdump.java

Ideas ? I don't know if the problem is in the app, or in
the linux
emulation code. However, this code runns under linux powerpc

Best regards,
antoine
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )