Pages: [1]   Go Down
Author Topic: 0018 log files taking up GBs of space  (Read 1195 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Without realizing it, I left the Arduino IDE open overnight with the serial monitor window open (And no Arduino connected)

There are multiple "console<UID>.tmp" directories in my temp directory. Combined, they take over 10GB. I have one specific file that is taking 8.7GB

Code:
mckaym@dev1 /cygdrive/c/Users/mckaym/AppData/Local/Temp/console65554090507124094.tmp
$ du -h stderr.txt
8.7G    stderr.txt

mckaym@dev1 /cygdrive/c/Users/mckaym/AppData/Local/Temp/console65554090507124094.tmp
$ tail stderr.txt
        at gnu.io.RXTXPort.nativeavailable(Native Method)
        at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1532)
        at processing.app.Serial.serialEvent(Serial.java:215)
        at gnu.io.RXTXPort.sendEvent(RXTXPort.java:732)
        at gnu.io.RXTXPort.eventLoop(Native Method)
        at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1575)
Error inside Serial.serialEvent()
java.io.IOException: Bad file descriptor in nativeavailable
        at gnu.io.RXTXPort.nativeavailable(Native Method)
        at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1532)
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 631
Posts: 50111
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So, delete them. And, don't do that again.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Obviously I did.
It isn't exactly a user-friendly feature. No one is expecting to have their temporary directory explode. I didn't think there would be any harm in reporting this behavior.
Logged

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
It isn't exactly a user-friendly feature. No one is expecting to have their temporary directory explode. I didn't think there would be any harm in reporting this behavior.
You are right.
Lets try to investigate this a little.

1) Which version of the Arduino IDE are you running.
2) Which version of the operating system are you running
3) 32bit or 64bit
4) When you start up the IDE from the commandline it prints the version information for the RXTX library. What version is installed?
5) How did that happen ?   
Quote
I left the Arduino IDE open overnight with the serial monitor window open (And no Arduino connected)
You had the serial monitor connected to the board and then you  simply unplugged it ?
6) Can you replicate this error?

Eberhard

Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 14
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Wayoda, I saw the same thing - when disconnect Arduino when terminal window is open and connected, IDE's log area is flooding with error messages until I close terminal window. These are Java errors about connection. I rapidly delete log files, so I didn't get 10 GB smiley

My system - winXP 32bit, IDE: 0017. I don't know about rxtx version - .dll don't give me version number and command line is very silent.
Logged

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I checked this on Vista arduino 0017 and 0018. Shows the same error

I filed a bug report
http://code.google.com/p/arduino/issues/detail?id=229
Eberhard
Logged

Pages: [1]   Go Up
Jump to: