Page 1 of 1

Software Remote Memory Usage

Posted: Mon Mar 22, 2004 12:16 pm
by ericvic
Can someone tell me how much memory a Win32 Software Remote uses normally?



I have some Fujitsu Point 510s (one with 24mb ram) and they are terribly slow when running the software remote example that comes with HouseBot. I know the 510s are slow anyway but I'm wondering if some of the slowdown is because the software remotes need more memory than I have. I'm also getting an error (I can't remember exactly what it says) something like "Can't expand pallette" that seems to be memory related.



Thanks,

Eric

Posted: Mon Mar 22, 2004 8:10 pm
by ScottBot
Eric,



Although there's a minimum memory requirement for the Software Remote, it shouldn't be an issue. Each Theme will have different memory requirements, since all of the images are loaded at runtime.



The Can't expand palette message is due to the fact that you must be running in 256 color mode. When the remote loads all of the images for a Panel, it attempts to fit all of the combined colors into a single 256 color palette for display. If there are more than 256 colors, colors will show incorrectly and the message that you see is displayed.



You might want to create a very simple theme with very plain buttons as a test for performance. Make sure the background image and any button images are very small by reducing the color depth as far as you can. If you reduce them to 16 colors that should be your optimal speed (although probably not very pretty).

Posted: Mon Mar 22, 2004 9:06 pm
by ericvic
Scott,



I will create a very simple theme for testing. Now that I have a few devices I have something to play with in my theme.



Thanks,

Eric

Posted: Tue Mar 23, 2004 9:39 am
by ScottBot
Eric,



Also, can you describe a bit more of what are you seeing that makes you think it is slow?

Posted: Tue Mar 23, 2004 9:45 am
by ericvic
Scott,



There are some popups that once you click the button take @10 seconds to go away. But thinking more about it most of the problem may be with the 256 color pallette. If it is having to switch pallettes to map in the additional colors then that could be slowing it down a good bit.



I played around with a quick single color panel with a couple of buttons on it and it was much faster. I'm going to do more experiments tonight.



Thanks,

Eric