PDA

View Full Version : How to determine available memory



Jimmy2775
18th January 2007, 22:38
Hello,

I want to cache some data in my GUI client, but I want to implement strong and weak references in the cache.

I need to be able to determine how much memory is free on the client machine, and perhaps how much the GUI client is using.

Does anyone know any way in Qt to determine the amount of RAM available and the amount used by the Qt application?

Thanks

Jimmy

wysota
18th January 2007, 23:47
You can only use platform dependent solutions. Qt won't help you with that.

Jimmy2775
19th January 2007, 00:00
I figured as much, but was hoping I'd missed something.

Thanks.