Uploading a file > 1GB using the RStudio Server IDE (tested on Debian stretch) gives an error message: Unexpected response from server
Smaller files just work fine.
Looking into /var/log/syslog gives the following message:
Jun 5 21:18:39 ip-172-31-44-28 **rserver** [1052]: ERROR Unexpected exception: std::bad_alloc; LOGGED FROM: void rstudio::core::http::AsyncConnectionImpl<SocketType>::handleRead(const rstudio_boost::system::error_code&, std::size_t) [with SocketType = rstudio_boost::asio::basic_stream_socket<rstudio_boost::asio::ip::tcp> std::size_t = long unsigned int] /var/lib/jenkins/workspace/IDE_open-source-pipeline_v1.2/src/cpp/core/include/core/http/AsyncConnectionImpl.hpp:348
Tested also on previous versions of RStudio (1.2, 1.0.153) on either the Docker rocker containers or the AMIs from http://www.louisaslett.com/RStudio_AMI.
Is this a bug in RStudio Server?