When using keras,The previous R session was abnormally terminated due to an unexpected crash


#1

Hello,

I keep getting The previous R session was abnormally terminated due to an unexpected crash

project :https://rstudio.cloud/project/165464


#2

Hi,

That message usually means that the rsession terminated unexpectedly. That project shows up in our logs as exceeding the container memory limit (1GB) and keras has a tendency to exceed that limit. So I think that's the root cause.

This is happening when you execute your code or when the project loads?

Sean


#3

it happens, when I run the code. It fine when I run on R local or R sever. Just wanna check out the R cloud


#4

So it probably works in the other two locations because you have a larger memory footprint available there. We are currently working to support larger memory footprints which should unlock more complex use cases like running keras on the cloud platform. However it is not a feature that is presently available.

Sean Sinnott