konqy preloading kills performance

David Faure faure at kde.org
Mon Dec 13 18:47:43 GMT 2004


On Monday 13 December 2004 19:39, Allan Sandfeld Jensen wrote:
> If there is a way to detect memory presure we could ofcourse skip preload on 
> low memory machines, but I am not sure how to do it. 

The preloading code already checks the amount of available memory...
Check KonqMainWindow::checkPreloadResourceUsage and current_memory_usage.
But it checks against a fixed value, not against a % of the total memory on the system;
maybe this would be what you need.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list