this is the easyest way to fix gtaIV's graphics card problem on pc and all you have to do is make a text. You start by naming the text document commandline and inside that text document you type
-availablevidmem 8 thats all you have to do :)
text name:commandline
text inside-availablevidmem 8