Author |
Message |
Imm0rtal
|
Posted: Fri Mar 10, 2006 3:13 pm Post subject: Cannot allocate item. Out of id numbers (max 1000) |
|
|
"Cannot allocate item. Out of id numbers (max 1000)"
Has there been any dicussion on how this error can be avoided?
Thanks |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Cervantes
|
Posted: Fri Mar 10, 2006 3:51 pm Post subject: (No subject) |
|
|
Don't use so many pictures or fonts or whatever it is your using a lot of.
Free your fonts, close your files, free your pictures when you're done with them. Freeing objects might help too.
EDIT: Please use descriptive titles. "Blast! Foiled Again!" is, though more entertaining, no different than "I need help", as it tells us nothing of your problem. |
|
|
|
|
|
Imm0rtal
|
Posted: Sat Mar 11, 2006 12:09 am Post subject: (No subject) |
|
|
Thats very interesting. Thanks.. |
|
|
|
|
|
Imm0rtal
|
Posted: Sat Mar 11, 2006 10:40 am Post subject: (No subject) |
|
|
Is there a way to display how many picID's I have running? as a variable?
Example: does turing have a function/command that gets how many id's are currently running and allows that number to be displayed to a variable as an integer.
Thanks |
|
|
|
|
|
Delos
|
Posted: Sat Mar 11, 2006 12:15 pm Post subject: (No subject) |
|
|
Yes and no.
There does not exist a fcn, per se, in which you could display the number of pic streams open. You could, technically, overcome this by using a flexible array and storing every new pic in that array alone, and then displaying its upper bound. This is needless though. Instead...
Before you run your programme next time, do the following:
Run -> Show Debugger Menu | Debugger -> Show Allocated Objects.
When you run, a list of all pic-streams will be available in this new window. |
|
|
|
|
|
Imm0rtal
|
Posted: Sat Mar 11, 2006 4:07 pm Post subject: (No subject) |
|
|
Thank You so much. I use a max of 12 pictures instead of 1000. Whew. |
|
|
|
|
|
codemage
|
Posted: Mon Mar 20, 2006 8:44 am Post subject: (No subject) |
|
|
For interest's sake:
you can also, if you need to dynamically, keep track of what the integer number IDs are for the pictures you're using (since all pics are refernced through int variables).
Turing starts at around 7000 and keeps going. |
|
|
|
|
|
|