Version: (using Devel) Installed from: Compiled sources I start with a full clean user account, i.e. no files in $HOME. After login and later logout, without adding any files to $HOME, I get a disk usage of 165 megabytes in $HOME reported by "du", i.e. actual usage, not sparse files: > du -sh 165M . Note that since there are no files to index, no mail or contact data stored, this is pretty big. I cannot even move it to an 128MB USB stick. I need KDEPIM installed, which requires Nepomuk. The biggest offenders are: > du -sh .kde/share/apps/nepomuk/ 24M .kde/share/apps/nepomuk/ > du -sh .local/share/akonadi/ 140M .local/share/akonadi/ More information about individual files: > dir .kde/share/apps/nepomuk/repository/main/ -rw-r--r-- 1 kde4 users 2908160 Dec 2 03:56 soprano-virtuoso-temp.db -rw-r--r-- 1 kde4 users 5816320 Dec 2 03:56 soprano-virtuoso.db > dir .kde/share/apps/nepomuk/repository/main/data/virtuosobackend/ -rw-r--r-- 1 kde4 users 2908160 Dec 2 03:56 soprano-virtuoso-temp.db -rw-r--r-- 1 kde4 users 11632640 Dec 2 03:58 soprano-virtuoso.db -rw-r--r-- 1 kde4 users 1709557 Dec 2 04:01 soprano-virtuoso.trx > dir .local/share/akonadi/db_data/ -rw-rw---- 1 kde4 users 67108864 Dec 2 04:05 ib_logfile0 -rw-rw---- 1 kde4 users 67108864 Dec 2 03:56 ib_logfile1 -rw-rw---- 1 kde4 users 10485760 Dec 2 04:05 ibdata1
24MB of Nepomuk data is totally normal. All installed ontologies are loaded into the database. There is no way around that. I know that this is not a valid argument for many people but 24MB is nothing today. My harddisk has 1TB! From my side (Nepomuk) this is a "wontfix"/"cantfix".
Hm, the KDEDIR/share/ontology folder is just 644K. I hope it is just the ontologies that blow up by a factor of 40, not all indexes/annotations.
24 Mb is a lot of space, maybe just not to you and your 1 user system with 1 Tb hard drive, but what about workstation networks mounting $HOME from NFS and limited space and quotas? Why not make Nepomuk, Akonadi, Soprano, Redland etc. (all of the semantic desktop thing) optional dependencies of KDE?
I was able to resize the ib_logfile0/1 files from 64 MB each to 2 MB each by using the mobile database profile. This way, the total size used is reduced from 165 MB to 41 MB, which is a 75% reduction of the previous size. Still I think these files should be in a temporary directory, not in user's home. I do not know how the reduced size affects the performance of Akonadi, as I am still using KMail from 4.4 branch, which is said to not use Akonadi.
Since I switched Akonadi to use the QSQLITE database driver, the only issue is Nepomuk. As far as I grasp the features of the Virtuoso database, it is not possible to replace the Nepomuk storage with a "simpler" database, such as sqlite, so this is a WONTFIX (see comment #1).
Don't get me wrong: I would like to improve this and as soon as I come accross a good idea I will try it. But so far I simply have no solution.