AlluRajasekhar
14th October 2008, 21:05
Hi All,
I have this problem of "running low on memory" when I run a customized process session on Baan IV C4. Let me explain the program logic ...
There are around 220 files placed on a file server. Each file will have close to 3000 and odd Items listed in it. My process session is supposed to process these Items and come out with a list of all the alternate items for each item in the file. The same has to be done for all 220 files. The out put has to written onto a ASCII file.
The problem - Every time I run this process session I would get a fatal error Running on Low memeory. Before I get this error the session would have processed around 45 - 50 files out of 220 files.
I then tried to write the output to seperate files. In other words each file output is written onto unique ascii file. Even then I get this fatal error of running low on memory.
I have checked user limit using command "ulimit -a". It has memory of kbytes 32768. Do you think that this is the problem? Please note that I have used couple of arrays but memory allocation/de-allocation for those arrays is done dynamically for each file.
Any suggestion on this is very helpfull for me.
Thank you.
I have this problem of "running low on memory" when I run a customized process session on Baan IV C4. Let me explain the program logic ...
There are around 220 files placed on a file server. Each file will have close to 3000 and odd Items listed in it. My process session is supposed to process these Items and come out with a list of all the alternate items for each item in the file. The same has to be done for all 220 files. The out put has to written onto a ASCII file.
The problem - Every time I run this process session I would get a fatal error Running on Low memeory. Before I get this error the session would have processed around 45 - 50 files out of 220 files.
I then tried to write the output to seperate files. In other words each file output is written onto unique ascii file. Even then I get this fatal error of running low on memory.
I have checked user limit using command "ulimit -a". It has memory of kbytes 32768. Do you think that this is the problem? Please note that I have used couple of arrays but memory allocation/de-allocation for those arrays is done dynamically for each file.
Any suggestion on this is very helpfull for me.
Thank you.