okay, i have a GLUT window that gets called by a win32 GUI (finally got that working )

the problem: when i run the code it complains about the size of the image (size as in memory size)

i have 10,000 cubes created with upto 1,000,000 connections between these cubes, these are just straight lines

all this is enclosed within a wireframe sphere

i have tried to run it with 512mb of RAM but it keeps crashing or freezing

my question, is there a way to optomize the code so that it does not take as much memory

i have encluded the file as i am unsure about what sections to paste here

thanx in advance

korbitz

oh yeah, heres the warning message from vc6

Debug/test1.exe : warning LNK4084: total image size 437907456 exceeds max (268435456); image may not run