lua scripts and memory - page 2 - LUA Scripting - CHDK Forum
supplierdeeply

lua scripts and memory

  • 11 Replies
  • 5156 Views
*

Offline reyalp

  • ******
  • 11893
Re: lua scripts and memory
« Reply #10 on: 13 / February / 2009, 01:33:56 »
Advertisements
>>This doesn't tell me anything. Please describe the actual symptom.

It gives me an error message stating that an attempted function is nil even though it has executed the same function several times already. Apologies for my awkward description but i've never come across a problem like this in my days of programming.
This is not a likely result of running out of memory.  Sounds more like something clobbering the functions, or an incorrect use of function environments.
Don't forget what the H stands for.

Re: lua scripts and memory
« Reply #11 on: 13 / February / 2009, 09:34:29 »
I've made progress isolating the problem.  i can take 200+ pics without memory problems. now i need to slowly re-enable features in my script.

 

Related Topics