My code is for mi ning frequent subtrees from a set of input trees. The basic code , i got from the link
http://chasen.org/~taku/software/freqt/and i made a few changes so that it will handle a set of XML files as input. The input file size is around 1 MB only , but there is lot of recursion using each substrig, and standard templete libraries are being used. So in the program, there is no need for memory allocation or deallocation
There 4 C++ files for mining , so pasting in this same window will just confuse the readers. I can not send attachments , it seems ?
I had posted in some other forums also , and i got various suggestions. According to those replies , i tried
1. ulimit -s unlimited , to set more swap space
2. created a 128 mb swap file , usind dd , and /sbin/swapon commands..
But both the abpve steps did not help , In second case , the swap file was being created , but program was not using this swap file.
3. I tried setenforce = 0 , but program is getting aborted.
In /etc/sysconfig/ there is no file with name selinux, so i could not try that.
If any of u think of some solutions, please feed back. Is is possible to post the files somewhere for public viewing?
Regards
Shinni