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.
ulimits is it running under? Typeulimiton the same console you're running your program from to see if the environment is severely limiting some resource you might need (e.g. memory, CPU time, etc). – Alexios Feb 8 '12 at 18:32gdb— when it gets killed, you should be able to get a backtrace (although I'm not sure about howgdbhandlesSIGKILL, I knowSIGSEGVcan be trapped bygdb, nowSIGKILLI don't know.) – njsg Feb 8 '12 at 18:38dmesg, might be some info there. – Mat Feb 8 '12 at 18:44