How much you can malloc depends on a number of factors:

1) Whether your OS is 32-bit or 64-bit
2) How much memory is in your graphics card
3) Whether or not you have virtual memory

etc.