iolsen
08-18-2009, 10:30 PM
My app occasionally crashes on the Tivo with the dreaded out of memory error. I believe this is a Tivo resource issue, not a Java heap error. (The java process on my PC keeps running and isn't anywhere nead its max heap size. I can't make the simulator crash under any circumstances; only the Tivo.)
I'm 95% sure at this point, by watching the resources window in the simulator, text resources are to blame. But I'm having trouble freeing them. Most of the text resources get created by bananas BLists. I've also tried playing with bananas-plus and BListPlus. But I'm missing something, because I can't get the simulator to indicate that text resources have been removed.
In BList's createRow(), I create a BText instance. If I save references to these, and later call BText.remove(), should I expect the simulator to decrement the number of text resources? It doesn't. (Image resources, on the other hand, seem to behave predictably in this way.) Am I doing something dumb? Is there something unique about Text resources inside a BList?
Hopefully people still read this forum occasionally. :)
Thanks for your time!
Ian
I'm 95% sure at this point, by watching the resources window in the simulator, text resources are to blame. But I'm having trouble freeing them. Most of the text resources get created by bananas BLists. I've also tried playing with bananas-plus and BListPlus. But I'm missing something, because I can't get the simulator to indicate that text resources have been removed.
In BList's createRow(), I create a BText instance. If I save references to these, and later call BText.remove(), should I expect the simulator to decrement the number of text resources? It doesn't. (Image resources, on the other hand, seem to behave predictably in this way.) Am I doing something dumb? Is there something unique about Text resources inside a BList?
Hopefully people still read this forum occasionally. :)
Thanks for your time!
Ian