[arachne] Pocket Arachne testing - memory allocation failure in insight.exe

Arachne at FreeLists---The Arachne Fan Club!

I just replied to a reply from Ray on the developer group mailing list (yahoo) but I want to post here as well as there may
be more listeners/helpers on freelist.


To make a long story short, I am getting the following error from insight.exe whenever I try to open the inbox or the outbox.
'Cannot allocate memory for reading of the index'.


The code involved is lines 363-364 of idx.c (from the code for insight.exe from Glenn's webpage).
sarr=(Tsortarr*)calloc(1,sizeof(Tsortarr));
if(!sarr){puts("Cannot allocate memory for reading of the index.");return;}


I am not sure what memory pool calloc is drawing from to get the failure. I think the problem may be as simple as the
heapsize setting for the compilation of insight.exe being too small.


So how do I give myself more of whatever memory calloc wants so I can get past this failure? TIA for any replies.



Arachne at FreeLists
-- Arachne, The Web Browser/Suite for DOS and Linux --

Other related posts: