← Back to team overview

syncany-team team mailing list archive

Re: I need your help (some statistics about the user data, takes 2min)!

 

Hi Philipp,

i tried it and get a error:

G:\Downloads>java FileTreeStatCSV G:\Daten\Dropbox\
Analyzing directory G:\Daten\Dropbox ...
Saving to syncany-size-categories.csv ...
Saving to syncany-type-categories.csv ...
Exception in thread "main" java.lang.IllegalArgumentException:
Comparison method violates its general contract!
        at java.util.TimSort.mergeLo(Unknown Source)
        at java.util.TimSort.mergeAt(Unknown Source)
        at java.util.TimSort.mergeCollapse(Unknown Source)
        at java.util.TimSort.sort(Unknown Source)
        at java.util.TimSort.sort(Unknown Source)
        at java.util.Arrays.sort(Unknown Source)
        at java.util.Collections.sort(Unknown Source)
        at FileTreeStatCSV.stat(FileTreeStatCSV.java:86)
        at FileTreeStatCSV.main(FileTreeStatCSV.java:154)

I have a real big Dropbox-Directory (30k Files, 3k Directorys, 21,4GB
amount of Data). If it would help i could debug the code and try to find
the problem, but im more familiar with c++ rather than java.

Greetings,
Patrick

Am 05.08.2011 23:49, schrieb Philipp Heckel:
> Hi everyone!!
> 
> As part of my Master thesis, I am trying to minimize the disk space that
> Syncany uses on the remote storage. To get the better results when
> deduplicating the user's files, it would be very helpful to know what
> type of files Syncany mostly has to deal with.
> 
> I wrote a small java program to make some stats. Here's a detailed
> explanation: http://syncany.org/thesis
> It only *takes 2 minutes*, is completely anonymous and would really help
> me to make Syncany better/work!
> 
> Cheers
> Philipp
> 
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References