Open rgr opened 3 years ago
Following the solutions offered by @jeroen here (https://stackoverflow.com/a/47461528/7474722), and reading on the ocpu doc for the server, I was wondering :
I now realize this would be more a StackOverflow question than an issue in that repo, sorry...
Hi,
I created a docker image of my package with opencpu and I am wondering why is there such a huge difference between my final image and the one from opencpu base in terms of size and memory usage...
With the base image, the image size is 350mo and uses 200mo of ram when iddle. When I get my image, it is 1Go (with 3 files of code added) and it uses 1.2Go of ram when idle, not calling any function...
Here is my docker file. The installer only installs 3 packages that are also loaded in the preload server conf...
Do you have any idea about how to optimize both the size and the memory usage? I'm wondering where the issue could come from...