I have a question regarding R and RStudio on my Windows Server 2012 R2 Datacenter.
I access the server directly and the server has 128GB RAM. But when I run my R-script, the task manager shows me, R is only using up to 2 MB of RAM and an overall of 4% of the RAM of the whole system are used.
I have the current R-Version installed and am using the 64-System option in RStudio. When I check my memory memory.limit() R says, that I have 1.759219e+13 of memory, which is not possible. I can't change the memory-limit or anything else.
Whenever I acess R directly through Rgui and type in the lines, R tells me the following
> memory.limit()
[1] 131023
> memory.size()
[1] 31.5
Whenever I use R on my Laptop, it uses about 5GB of RAM. So I am wondering, what is happening here.
Questions:
1.) Can I use R and RStudio on a Windows 2012 Server (I feel as if that should be okay, although I didn't find a lot of information on that on the internet)
2.) How can I provide the R-process with more memory, so the computation will be faster?
Thank you very much for your help. As this is my first question, let me please know if you need any additional information.
Edit
Maybe this helps explaining what my problem is. Why can't the R-process get more power?
Resource-Monitor and Task-Manager:
![Resource-Monitor and Task-Manager]](../../images/3166bfab5fc52cffb6880343327b65a6.webp)