i made an opengl image viewer that theoretically cycles through theoretically infinite images in no time how can i make the images in memory not be paged out
using C++
buy infinity ram?your description of the problem leaves much to be desired.what is the use case for viewing infinity images in an instant? maybe cull some entity's and only show the user what they need to see.
mlock(2) and mlockall(2)