I'm using Marmalade 5.0.0. I'm getting the PTVert cache overflow error on my VTAB1008 android tablet. It says I should increase the VertCacheSize and that it's currently 404. My .icf setting for that has been 8192 since I created this project. I just changed it to 30000 and it still reported 404.
What would cause the .icf setting to be ignored like that? How do I make it see the value I requested?
From the .icf file:
[GX]
DataCacheSize=851968
#VertCacheSize=8092
VertCacheSize=30000
VertCacheSizeHW=8092












I put a call to s3eConfigGetInt("GX", "VertCacheSize", &verts) in the function that is exposing the error at both the beginning and the end of the function. It shows the value to be 30000 both times despite the error message.
The function loops over adding labels to a scrollable grid. The error comes up most often when there are a couple thousand labels to add. I haven't found a memory leak or over run after much searching.
Anyone have a clue to vend? Is it possible AddRow or AddElement have a problem with large numbers of elements?
Firstly, is there any reason you're using such an old version of the SDK? The first port of call is to try this with a more recent version of the SDK.
I've looked at the code that reports that error, and there is a fault in the error reporting, so don't rely on the number printed with that error.
If updating the SDK isn't viable, or doesn't solve the problem, I would suggest setting the cache size value high, and then adding labels one at a time until you get the error, note the number of labels. Then up the value, and try again. If it fails at the same point, there is something deeper going on, if it fails after more labels, then the mechanism is working, it's just a case of finding the appropriate buffer size.
If you are still experiencing problems, could you provide a simplified test case that demonstrates the problem, preferably against the latest SDK.
Paul