This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Nepomuk Memory Usage

Tags: None
(comma "," separated)
qacek
Registered Member
Posts
5
Karma
0
OS

Nepomuk Memory Usage

Tue Feb 03, 2009 1:31 am
The process "nepomukservices" is using ~300MB of memory. My machine only has 1GB of memory and I'm not too sure if losing 1/3 of my memory to this process is worth it. My laptop which has 2GB of memory also has Nepomuk using a similar amount of memory. Is this normal or common behaviour?

I'm using KDE 4.2.

Last edited by qacek on Tue Feb 03, 2009 1:33 am, edited 1 time in total.
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

RE: Nepomuk Memory Usage

Tue Feb 03, 2009 2:11 am
What is the size of .kde4/share/apps/nepomuk/repository/main folder?. If you have a large database Nepomuk's performance drops and some applications, like Dolphin, are also affected. I have a similar problem in the past with a 200 Mb database but now my db have ~ 3 Mb and Nepomuk is using ~ 2 Mb of memory.

If your database is very large there are methods to optimize it.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
qacek
Registered Member
Posts
5
Karma
0
OS

RE: Nepomuk Memory Usage

Tue Feb 03, 2009 2:15 am
Code: Select all
~/.kde4/share/apps/nepomuk/repository/main$ du -h
146M    ./index
42M     ./data/sesame2
42M     ./data
188M    .

I'd be interested to hear how you optimized it. Does it sacrifice some functionality?
Rehto
Registered Member
Posts
22
Karma
0
OS

RE: Nepomuk Memory Usage

Tue Feb 03, 2009 6:58 pm
I have the same problem. My index size is about 120 Mb and nepomuk uses about 300 Mb of mem. How do I optimize?

Arch 64-bit, KDE 4.2.0

Last edited by Rehto on Tue Feb 03, 2009 6:58 pm, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: Nepomuk Memory Usage

Wed Feb 04, 2009 4:47 am
You may wish to optimise the folders the Strigi indexes in System Settings > Advanced > Desktop Search.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Rehto
Registered Member
Posts
22
Karma
0
OS

RE: Nepomuk Memory Usage

Wed Feb 04, 2009 10:22 am
bcooksley wrote:You may wish to optimise the folders the Strigi indexes in System Settings > Advanced > Desktop Search.


So just removing folders from being indexed, is that what you mean?

Last edited by Rehto on Wed Feb 04, 2009 10:24 am, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: Nepomuk Memory Usage

Thu Feb 05, 2009 7:06 am
Yes, remove the ones that are not needed ( or contain particularly large files containing text )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
qacek
Registered Member
Posts
5
Karma
0
OS

RE: Nepomuk Memory Usage

Thu Feb 05, 2009 10:07 pm
Well I trimmed my folder to just include my music, videos and images. Now my storage size is just 4.8 MiB indexing 856 files. Now it's only using about 60 MiB of memory.

Last edited by qacek on Thu Feb 05, 2009 10:12 pm, edited 1 time in total.
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

RE: Nepomuk Memory Usage

Thu Feb 05, 2009 11:09 pm
Disable strigi and you gain ~6MBytes of memory, testing in my system with 0 scanning directories. You can check how memory is using in yours with KSysGuard and filtering with text "strigi".

Nepomuk don't need strigi to do great things with your files and, whithout a query system, the main advantage of strigi is increase your database size.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
DanielW
KDE Developer
Posts
71
Karma
0
OS

RE: Nepomuk Memory Usage

Mon Feb 09, 2009 1:36 am
Yes, the Memory Usage of Nepomuk (most likely it is the nepomukstorage process) is an issue.

For one it is quite memory heavy anyway but I still think there i some bug in either sesame2 or soprano or JNI or whatever.

Hopefully support for a Soprano backend Sebastian Trüg is working on will fix this.


DanielW, proud to be a member of KDE forums since 2008-Oct.
harrisonmetz
Registered Member
Posts
2
Karma
0

RE: Nepomuk Memory Usage

Tue Mar 24, 2009 11:59 pm
Yes, I will complain about this too:

Gentoo
Linux 2.6.29 x86_64
GCC 4.3.2
KDE 4.2.1

I have 4GB of memory and this used 2.3GB resident. Thats worse than firefox!
User avatar
Alec
Registered Member
Posts
565
Karma
1
OS

RE: Nepomuk Memory Usage

Wed Mar 25, 2009 12:53 am
I had the problem with the absurd memory usage, so I just got rid of Nepomuk altogether. I never really used it either.


Get problems solved faster - get reply notifications through Jabber!
User avatar
RGB
Registered Member
Posts
346
Karma
0
OS

RE: Nepomuk Memory Usage

Fri Mar 27, 2009 11:47 pm
Nepomuk is disabled on my system, but nepomukserver is always there, taking more than 2 MB of memory and more than 10 MB of shared memory. Is that normal? Why nepomukserver starts every time if I instructed kde to not use it? The process is "sleeping", but it is sleeping on my ram...
I'm using kde 4.2.1


RGB, proud to be a member of KDE forums since 2008-Nov.
And proud to be a kde user since 1.1.2
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: Nepomuk Memory Usage

Fri Mar 27, 2009 11:53 pm
Nepomukserver was probably started automatically be either KRunner ( for one of its runners, which can be disabled ) or by Dolphin ( which uses Nepomuk information in its information panel )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient