Re: temporary file handling
Martin Entlicher <[email protected]> Mon, 21 Jul 2003 15:53:18 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
Well, from the code it's not apparent where is the problem. The temporary file is deleted right after it is sent to the server by DefaultTransmitTextFilePreprocessor.cleanup(). Can you check, that the disk where temporary files are created has enough space? And that temporary files are not cumulated there? Did you check the correct temp dir? Regards, Martin Robin Sander wrote: > > Hello, > > when adding a large amount of files using one command > (one add command with about 10000 files) the following exception > occurs: > > java.io.IOException: No space left on device > at java.io.UnixFileSystem.createFileExclusively(Native Method) > at java.io.File.checkAndCreate(File.java:1313) > at java.io.File.createTempFile(File.java:1401) > at java.io.File.createTempFile(File.java:1438) > at > org.netbeans.lib.cvsclient.file.DefaultTransmitTextFilePreprocessor.getP > reprocessedTextFile(DefaultTransmitTextFilePreprocessor.java:29) > at > org.netbeans.lib.cvsclient.file.DefaultFileHandler.transmitTextFile(Defa > ultFileHandler.java:155) > at > org.netbeans.lib.cvsclient.Client.processRequests(Client.java:380) > at > org.netbeans.lib.cvsclient.command.add.AddCommand.execute(AddCommand.jav > a:354) > at > org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:488) > at > de.finix.contelligent.revision.netbeans.CVSLibConnector.executeCommands( > CVSLibConnector.java:266) > > Since the exception occurs when DefaultTransmitTextFilePreprocessor > calls 'createTempFile' I wonder why the temporary storage could be exhausted. > (it has about 500 MByte) > Does anybody know whether cvslib sometimes does not deleted temporary files > properly or maybe just too late? After shutting down the VM the tmp dir is > empty, so I havn't any clues yet .... > > regards, > > Robin. > > -- > Robin Sander > C:1 Financial Services GmbH > http://www.c1-fse.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]