More RAM is good, no doubt. OTOH, increasing total RAM may not address the real problem, but merely defer it for awhile.
I have 16 GB, but have never actually exceeded 8 GB of actual memory usage, even with multiple sample libraries. Take, for example, the project I'm working on today: I have 3 instances of Kontakt (6 instruments total) plus Trilian, Superior Drummer, and Omnisphere. And two synths that are too lightweight to worry about. Total system RAM usage: 5.6 GB. That's total memory, not just SONAR's piece of it, which is only 2.8 GB. I do have some libraries that could eat up 2.8 GB all by themselves, but they're not in play today. When they are, I'm likely to freeze them as soon as I can.
My point is that 8 GB should be adequate for most people. The exception would be film scorers with multiple monster orchestral libraries, for whom even 16 GB might not suffice.
So if an 8 GB machine was unable to load a library due to insufficient RAM, and if it was able to load it previously, then I'd be looking for memory leaks. That's when a program repeatedly allocates memory and doesn't return it to the pool when it's done with it. Windows itself has been guilty of this in the past (back in Windows 95 days it was recommended to reboot daily to recover leaked memory), and although Microsoft has spent millions of man-hours addressing this it still happens sometimes. More often, it's a third-party component.
Open Task Manager and click on the "Memory" column, which will order processes by memory usage. See what's at the top of the list. It should be SONAR. If it isn't, something's wrong. If some of the names of the top 5 processes aren't familiar, google them. They may be processes you didn't know were running, don't need to have running, or ideally would not be running on a DAW.
Also watch memory usage over time. A process whose usage continually increases could be a leaker. Once your project has fully loaded (wait a couple minutes and then play the song start-to-finish to make sure), SONAR's memory usage should either remain steady or increase by only a few megabytes.