Maiasaura
Maiasaura

Reputation: 32986

What causes an R script to get Killed?

I've been running some memory intensive processes on EC2 servers. The code runs quite well for about 12-14 hours (it's running 1000s of simulations on 12-14 large datasets) and then all of a sudden I just see the message "Killed" with no further explanation.

What makes R do that?

UPDATE: My server specs.

Upvotes: 23

Views: 13493

Answers (2)

James
James

Reputation: 66844

It could be the out of memory killer of the operating system.

Are you cleaning up your workspace when you have finished with a dataset?

Upvotes: 14

Xzhsh
Xzhsh

Reputation: 2239

From what I know, I don't think R has a "killed" error. Most likely it's your operating system imposing a process limit or some kind of quotas. If you are working on a network system, maybe ask your sysadmin?

Upvotes: 5

Related Questions