Author Topic: [Lua] Gravity guy  (Read 29050 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Lua] Gravity guy
« Reply #60 on: February 21, 2013, 09:19:08 am »
It depends what does Levak mean, though. When he says "not enough RAM", does he mean false low RAM reports like when you try to launch old TI CDs on newer computers?

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: [Lua] Gravity guy
« Reply #61 on: February 21, 2013, 10:54:46 am »
There is no error message when the Lua script is too big (Beside there is one for too large images in the script).
The behavior is to leave the page blank without error and if you resave the document you will lose the script.
This happens more often on ClickPad and TouchPad since the RAM is lower than the CX.
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: [Lua] Gravity guy
« Reply #62 on: February 21, 2013, 11:41:25 am »
Is the document totally empty or is it the Lua script app which is blank ?
Sorry, I looked again today and saw that it's really empty. I have a TouchPad Nspire, so Levak is probably right that there's too little RAM. That means it should only be a problem if I save the document while I'm for example in the document browser, because the script isn't blank before I save it, only when I open it again later.
Are you trying to open a Lua script that has a consequent size (like hundreds of KB) ?
The tns is only 23KB, but its Lua code Chockosta posted is 250KB.
Is there any way to reduce the RAM usage of the OS or something?