Aug 8, 2001 #1 jleung Programmer Joined Jul 30, 2001 Messages 5 Location US I want to test what would happen to my program when all of my memory has ran out, how could I do so? thanks,
I want to test what would happen to my program when all of my memory has ran out, how could I do so? thanks,
Aug 8, 2001 1 #2 Cagliostro Programmer Joined Sep 13, 2000 Messages 4,226 Location GB do while(1) { _asm pusha } or double* x() { return new double[100]; } int main() { while(1) { x(); } return 0; } John Fill ivfmd@mail.md Upvote 0 Downvote
do while(1) { _asm pusha } or double* x() { return new double[100]; } int main() { while(1) { x(); } return 0; } John Fill ivfmd@mail.md
Aug 8, 2001 Thread starter #3 jleung Programmer Joined Jul 30, 2001 Messages 5 Location US Is there anyway I could do it with malloc? Upvote 0 Downvote
Aug 8, 2001 #4 Cagliostro Programmer Joined Sep 13, 2000 Messages 4,226 Location GB while(1) { malloc(100); } John Fill ivfmd@mail.md Upvote 0 Downvote