comp.lang.ada
 help / color / mirror / Atom feed
From: "Warren W. Gay VE3WWG" <ve3wwg@cogeco.ca>
Subject: Re: Creating tempfile takes too long: GNAT or Windows bug?
Date: Wed, 09 Oct 2002 13:14:16 -0400
Date: 2002-10-09T13:14:16-04:00	[thread overview]
Message-ID: <3DA463E8.1080202@cogeco.ca> (raw)
In-Reply-To: 4a4de33a.0210090358.fc50c13@posting.google.com

M�rio Amado Alves wrote:
> Hi all.
> 
> Creating a temporary file (see test code below) is taking the
> unreasonable time of 30+ seconds on Windows XP (with GNAT 3.14p) on my
> laptop. Has someone had this sort of problem?

I believe this problem has been discussed before in
this group. Perform a Google search, and you might
get additional information on this.

Another possibility is that your temp directory has 100's, if
not 1000's of leftover temp files in it. I experienced this
problem with my family's Win98 system because one piece of
software creates a temp file everytime it runs (I havn't
determined which it is), but fails to clean them up (ain't
commercial software wonderful?)  I ended up creating a
simple C program that periodically cleans out any of these
that are n days old. This improved the general performance
of all applications affected, _significantly_.  There were
literally, several 1000 of temp files, mostly empty. This
causes extremely long directory searches.

But I seem to recall there was another reason for the
performance penalty as well. Search Google.
-- 
Warren W. Gay VE3WWG
http://home.cogeco.ca/~ve3wwg




  parent reply	other threads:[~2002-10-09 17:14 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-09 11:58 Creating tempfile takes too long: GNAT or Windows bug? Mário Amado Alves
2002-10-09 14:15 ` BREHMER Philippe,
2002-10-09 16:43 ` tmoran
2002-10-09 17:14 ` Warren W. Gay VE3WWG [this message]
2002-10-09 18:40   ` Preben Randhol
2002-10-10 12:06     ` Marin David Condic
2002-10-10 12:29       ` Preben Randhol
2002-10-10 17:29         ` Creating tempfile takes too long: GNAT or Windows bug? (& GtkAda) Warren W. Gay VE3WWG
2002-10-10 19:43           ` Stephen Leake
2002-10-11 10:59             ` Preben Randhol
2002-10-11 10:46           ` Preben Randhol
2002-10-14 22:51             ` Warren W. Gay VE3WWG
2002-10-15 10:08               ` Preben Randhol
2002-10-11 12:00           ` Marin David Condic
2002-10-11 11:38         ` Creating tempfile takes too long: GNAT or Windows bug? Marin David Condic
2002-10-11 13:57           ` Preben Randhol
2002-10-12 13:14             ` Marin David Condic
2002-10-12 15:01               ` Preben Randhol
2002-10-10 19:44       ` Jeffrey Carter
2002-10-14 12:42         ` Simon Clubley
2002-10-10 14:02   ` Creating tempfile takes too long: GNAT or Windows bug? Solved Mário Amado Alves
2002-10-09 18:56 ` Creating tempfile takes too long: GNAT or Windows bug? Pascal Obry
2002-10-12  4:45 ` James Ross
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox