It's true that RStudio limits memory to 1GB. However, as you said, this amount should be fine for a small dataset. Without looking at the exact code, or a reproducible example, it's hard to say why one student might be running into this limit. For example, it's very easy to write memory-inefficient code, especially for new users to R.