No it isn't. The amount of allocated RAM is totally different from that being used. This is simple to verify with a little homework with Bing Google and even simpler to see by perusing Task Manager.
Allocated RAM is the amount of RAM the operating system has allotted to all your programs and applications - whether they are running or not. In use RAM is what is currently being used.
Look in Task Manager under the Performance tab, then click on Memory in the left side panel. At the bottom, you will see an "In use" value. Note that will be different from the "
Committed" value.
A little homework shows there are two types of allocated memory; "
static" and "dynamic". Note the size of the static allocated memory is set when the program is installed or first run. It is a fixed value and does not change even when no longer running. Dynamic allocation obviously is not a fixed value.