i made a studio that player can select a car between 40 diffrent car.
each car size and it's part have 16mb and palyer can select bodypaint for his car between 210 body paint(2048*2048 dds texture)

now i have problem.if player want to see some cars and some bodypaints,memory will be full.

i need some advices.
and please some one show me a code for sys_malloc and sys_free for using with ENTITYs.