out of memory, even tho remembered nothing!
- Posted by useless_ Oct 17, 2012
- 1539 views
See :
http://openeuphoria.org/pastey/159.wc for the source code
http://openeuphoria.org/pastey/160.wc for the err file.
Basically, open a huge file, gets() on it till done or crash. It crashed.
Windoze's Task Manager said eui.exe is using only 1,456 KB of memory. Nothing is stored, the length of the line gets()'d is added to the running total, and everything else is not remembered. Running out of memory seems a lil odd then.
So how does this work?
For what it's worth, i used seek() on a file nearly as big, and it did not crash.
useless