Well.. Its not going to use all of 5KMB of RAM now is it.. v.v That would be insanely 'un-resourceful'.
it uses as much memory as it requires at that point. Your low fps rate is coming not from the memory allocation but from.. few factors.. Maybe a new computer would do much better? Maybe close all the unwanted processes and programs? Maybe take care of your computer, update it, check it, de-fragment it?