Hi,
Is there any reason that reading a medium size file (10.9M) containing a fairly convoluted numeric list structure, previously written from Gambit, should take for ever using (call-with-input-file ...) and use an inordinate amount of memory. Trying to load twenty of these files in sequence blows my VM to 3.5Gigabyte before my Mac bottles out.
If I change the datafile into a scm file by enclosing the data with (define x '.....) then the file loads immediately.
Nick Walton
Afficher les réponses par date
On 25-Sep-07, at 7:06 AM, Nicholas Walton wrote:
Hi,
Is there any reason that reading a medium size file (10.9M) containing a fairly convoluted numeric list structure, previously written from Gambit, should take for ever using (call-with-input- file ...) and use an inordinate amount of memory. Trying to load twenty of these files in sequence blows my VM to 3.5Gigabyte before my Mac bottles out.
If I change the datafile into a scm file by enclosing the data with (define x '.....) then the file loads immediately.
I tried to reproduce your result and couldn't. Could you post a bug report, with data files, into the bugzilla system (http:// www.iro.umontreal.ca/~gambit/bugzilla/)? In general it is better to post bug reports there anyway to simply bug tracking.
Marc