Software Remote Memory Usage

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
ericvic
Senior Member
Posts: 144
Joined: Thu Feb 26, 2004 11:06 am
Location: Irondale, AL
Contact:

Software Remote Memory Usage

Post 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
ScottBot
Site Admin
Posts: 2806
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post 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).
Scott
ericvic
Senior Member
Posts: 144
Joined: Thu Feb 26, 2004 11:06 am
Location: Irondale, AL
Contact:

Post 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
ScottBot
Site Admin
Posts: 2806
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

Eric,



Also, can you describe a bit more of what are you seeing that makes you think it is slow?
Scott
ericvic
Senior Member
Posts: 144
Joined: Thu Feb 26, 2004 11:06 am
Location: Irondale, AL
Contact:

Post 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
Post Reply