Can any one help me out to get rid of this problem?


I have developed a windows 95 based MFC application using VC++ ver 4.0 for

PCB diagnosys. In this application I am using different types of data

structures starting from simple arrays upto MFC collections. Also whenever

the user issues a 'Test' command the software will test the board and create

test report for the user. For each board tested, three files are creaed of

size about 10242 bytes each. I know that the smallest space of the hard disk

occupied by a file depends upon the cluster size, which is 32,768 bytes in my

hard disk. But the problem is that the size of swap file created by the O.S

increases abnormally in direct proportion with the no. of boards tested.

And, at one point the system hangs up as its left with very least space in

the hard disk. Please note that I have two partions in my hard disk namely

'C' and 'D' of size 2.0GB each. The software is installed in drive 'D' and

the abnormally consumed space belongs to drive 'C'.


Withe regards,

Franklin.


Please give me a solution.