|
memory leak in igawk script
Hi,
We are having igawk statement calling gawk function and processing a master file, each gawk function have rules and action. We are using associative array to keep the output of each rule and finally printing the associative array. We are seeing the memory is growing incrementally in TOP command (size, res). We are deleting the associatve arrays after each pass.
igawk --re-interval -F -v OFS= -f symc.import.awk.Utils -f symc.import.cb.3eye.DSConstants -f symc.import.cb.3eye.DSUtilities -f AR_State_Master_DS1.gawk -f AR_State_Master_DS2.gawk -f Sub_Expr_Master_DS1.gawk -f corrections_Generator.gawk -f metricsGenerator.gawk -f update_Master.gawk "master.txt"
1. What are the tools I can use to find the memory leak
2. What could cause memory leak in gawk with associative array
|