I am running code that needs the R package
rJava. When I call that code, R just crashes without any indication of what is going wrong. This is a segmentation fault, that for some reason never makes it to the surface. You can solve this by setting the following (see also stackoverflow):
export _JAVA_OPTIONS="-Xss2560k -Xmx2g"
The result in my case is that R starts, but throws the error
Error: 'Error: C stack usage 141780829840 is too close to the limit'
I haven’t found a solution for that problem yet, tell me if you have any hints 🙁