We can't answer that, since it doesn't JUST depend on how much RAM the system has, but also "what else is running on the system" and "what is the configuration of the system". For example, if we have set rlimit
in a Linux/Unix system to not allow a process to use more than 256MB, then you will not be allowed to allocate more than 256MB, no matter how many gigabytes or terabytes of RAM the system has.
Also, consider a 1GB system with 6GB of swapspace MAY give you a higher value of i
than a system with 4GB of RAM and no swapspace?
There are other variables than "how much RAM is there in the system" that dictates how much RAM your application can allocate.