Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!dsac.dla.mil!dsacg3.dsac.dla.mil!dsacg2.dsac.dla.mil!nol1085 From: nol1085@dsacg2.dsac.dla.mil (Gregory S. Elich) Newsgroups: comp.databases Subject: UNIFY B-Tree Access Message-ID: <2322@dsacg2.dsac.dla.mil> Date: 18 Jul 90 19:49:50 GMT Organization: Defense Logistics Agency Systems Automation Center, Columbus Lines: 16 I have a program that uses Unify's B-Tree search (btsrch) to access a large file. Initially, the B-tree index was defined globally. I found that every time the file was accessed, the size of the program grew by large amounts. Once I defined the B-Tree index inside a function I found that this was not a problem. However, the program does seem to grow by small amounts for each access. I've tried freeing the the B-Tree data as follows: if (filebts != BTIDNUL) free (filebts); But, this seems to have no effect. My question is: How can I keep my program from growing every time a file is accessed with a B-Tree index? -- Gregory Elich DSAC-OLA