I'm getting an exception from within "new" on ROMs for older handhelds, such as the m515, when the number of calls to new exceeds 5000 or so.
It's happening when reading a database. My database represents a drawing that has entities, such as lines, circles, etc. When reading a database, I make a call to new for each entity in the database. So, if there are 5000 lines in the database, I make 5000 calls to "new", one for each line, and put all of the lines in a graph for rendering. A database that works fine on a Zire 71 is throwing an exception on an m515. Running the database with POSE I'm finding the exception thrown from within a call to "new" after 5000 or so entities. The entities are only taking up 200Kb or so of memory, so there's plenty of memory left or the m515. Is it possible that I'm running into some other limitation? Thanks, Rich -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
