Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not enough diskspace
Message
 
 
To
03/07/2001 19:03:52
Eric De Bruin
Basic Software Design
Netherlands
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00526508
Message ID:
00526572
Views:
18
>I have build an application for synchronizing tables between two NT 4 (SP6) servers.
>I use SQL Queries to determine if records on the source server are newer than the records on the target server.
>
>The problem i encounterd is that every morning the message appears : NOT ENOUGH DISKSPACE FOR C:\TEMP\TEMPFILE.TMP although there's 1,95 GB of diskspace.
>
>Due to the large size of the tables the tempfile wil be also large so far i can understand the problem.
>
>The question is :
>Is there a possibility to delete the tempfile without shutting down the application. Trying to delete the tempfile while the application is running is not possible because FOXPRO is using the file.
>
>Does anyone know how to tackle this problem
>
>
>Thanks in advance
>
>Eric de Bruin

Clean up the temp directory when you start your application (check, if file is not used (by fopen, fclose), then delete it). You can also check for free space using George Tasker function from the FAQ section here before doing your query. Finally, make sure, you don't produce a cartesean product...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform