|
-
April 1st, 1999, 12:27 AM
#1
Swap file size problem
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.
-
April 1st, 1999, 02:03 AM
#2
Re: Swap file size problem
Hi,
Do you need to keep the data live after a baord has tested??
can you not join the 3 sets of data per board into a single file of @30K
and save it to disk under for example using the board serial number as the
filename???
Why keep the data live once a board has been tested??? This way when the 100th
board has been tested, the data for the first or second board isn't hanging around using up RAM.
Only a suggestion 
-
April 26th, 1999, 10:34 AM
#3
Re: Swap file size problem
Hai franklin
Hope ur File has to be deleted
for each testing sice ur using
a rapid type of aplication.
Rafi.
(LookMan)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|