temporary file handling
Robin Sander <[email protected]> Wed, 9 Jul 2003 15:55:30 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Organization | C:1 Financial Services |
| Message-ID | <[email protected]> |
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