Re: Endless execution on a simple test
David Bélanger <[email protected]> Sat, 27 May 2006 12:14:11 -0400
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, May 26, 2006 at 09:56:26AM +0900, Eunseok, Kim wrote: >=20 > This code simply repeats allocating a matrix and fill a number in it. >=20 > 1000X1000 matrix works well, but 10000X10000 matrix wasn't allocated an= d > whole program was stopped. >=20 > If VM required more memory, then "out of memory" exception would occur. >=20 > However there's no exception message. >=20 > What is the problem? >=20 > What do you mean by "stop", do you mean the process was killed? What OS are you using? And how much RAM/swap space do you have? If you are using Linux, maybe your process got killed by the OOM Killer (Out Of Memory Killer) because sufficient memory could not be allocated to the process because you are low in RAM/swap. There is a message I believe in the syslog by the kernel when this happens. If you are using Linux and this is the case, you might want to read the malloc manpages, right at the end. Regards, David --- David B=E9langer Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt