Your amount of RAM can be found under Start -> Control Panel -> System.
A sceen will pop up with additional system information, inclusive 'Installed Memory' (RAM) with the installed amount behind it.
For your videocard, i'd suggest to surf to
http://www.systemrequirementslab.com/cyri/ and see if your system is compatible to run GTA IV.
:ps: Next time, post in Hardware/Software support. This is not in any way relevant to SA:MP.