| Author |
Comment/Response |
David Baugh
|
10/14/07 01:45am
Hi,
Q1: How do I write results to a file and later read them back? Say I calculate 1000 one hundred digit integers. When I write them to a file line break characters and quotes are introduced. If I do not store them as Strings then when I read them back I lose significant figures.
Q2: If I read a million 100 digit numbers from a file and say calculate a running maximum, even though I reuse my variables the memory used creeps up with each file read until the kernal crashes due to out of memory.
Simple code examples so I get the right syntax would be most helpful.
This attachment is a practical example of the memory creep problem I am experiencing. What do I need to change to keep this from happening?
Thanks,
David
Attachment: moduletest1.nb, URL: , |
|