Menu

#364 writing to disk every second

v1.5.0
open
nobody
None
5
2012-11-29
2012-11-29
Daniel
No

I am using texlipse happily in Eclipse Juno. Working on a notebook I noted the constant writing to the hard disk.
It happens when a .tex file is opened in an editor after the 1st time saving. Just using the latex view doesn't trigger it. "Build automatically" is off.
Then I observed it using lm-profiler... yes it is the eclipses "java" process writing more often than every second. I attached strace:
$ strace -e trace=open,close,read,write -p 17578
Process 17578 attached
open("/home/daniel/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/diplomarbeit/.indexes/properties.index", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 63
write(63, "\1\0\0\0\1\0\0\0\f\2\0\30net.sourceforge.texl"..., 308) = 308
close(63) = 0
open("/home/daniel/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/diplomarbeit/.indexes/properties.index", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 63
write(63, "\1\0\0\0\1\0\0\0\f\2\0\30net.sourceforge.texl"..., 308) = 308
close(63) = 0
[..]

properties.index contains some binary and text data (or other encoding than my terminal):

net.sourceforge.texlipse bibrefDir
builderNum2 langSpellde
mainTexFilediplom_arbeit.tex
makeIndStymarkDertrue
markTmpDertrue outputDirdoc/
outputFilediplom_arbeit.pdf
outputFormatpdfsrcDirdoc/tempDirtmp

The moment the editor tab is closed, it stops. Deleting the file doesn't change anything, it gets recreated, and written to all the time.

Discussion


Log in to post a comment.