out of memory, even tho remembered nothing!

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu