What is the best way to limit the memory allocation in guile? I have a process that has allocated 6GB when the first step is finished, this is much, but is fine as the machine has 8 GB.
Then when performing the last step, just involving reading from a file, doing some string split for each line, adding some data and writing it back to the file line per line, the memory suddenly increases to 8.8 GB and then the job starts swapping ridicously and stops of course. It seems as the memory allocator in guile doesn't care about the physical memory limits and it seems as it prefers to allocate big chunks of more memory instead of performing gc despite very little extra memory should be needed. I'm still running 1.7 as I haven't got the time and energy to change the array implementation yet. I assume I have to change something in gc.c, the simplest I would like to say is, don't allocate more memory than this! /Roland Orre _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user