Hi,
I can add the following information:
the dock browses recursively the URI trash:/ and gets the size of each file, 
using g_file_enumerate_children with G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS.

I've personnally noticed that the whole process takes a lot of time when
there are a lot of files, whereas the more basic method (using fopen and
fstat) is much faster and gives the same result (I don't have network
volumes).

Thanks for your concern.

-- 
gvfsd-trash fills up memory
https://bugs.launchpad.net/bugs/662705
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to