Why is the C++ program killed by OS

cprocesssignals

I've compiled small C++ application for school project on my virtual ubuntu 11.04. However when I attempt to run it over some larger data set after ~20 sec the program is killed by OS.

Killed (SIGKILL)

I need to find out why and remove the problem. Could it be that I've not enough memory to run the program?
Note: I need to find data set large enough to make it run for several minutes.

Best Answer

It's probably killed by kernel's oom killer. dmesg should contain information about it. Sorry, but you may need to redesign your algorithm.

Related Question