Bitte ändert euer Passwort!

Im März 2026 wurde das Forum gehackt. Dabei hatten die Angreifer Zugriff auf die Datenbank und somit Zugriff auf eure Passwörter. Auch wenn das Forum kein Passwort im Klartext speichert, können die Angreifer eure Passwörter knacken. Bitte ändert daher dringend euer Passwort für das Forum. Solltet ihr das gleiche Passwort auch an anderer Stelle verwenden, ändert es bitte unbedingt an allen Stellen!

Save memory on Lua-apps! Great app from Jetimodel

  • TeroS
  • Autor
  • Offline
  • Platinum Mitglied
  • Platinum Mitglied
  • RC-Thoughts
  • Beiträge: 527
  • Thanks: 370

Re: Save memory on Lua-apps! Great app from Jetimodel

06 Jan. 2017 21:34
#
What comes to the marketing-thing, we do not know if the idea on bottom of the whole thing is truly marketing, "a teaser into Lua". One thing is sure, it have worked. There's not that many places in web where there is info on Lua for Jeti but my site is one of them and after Lua came to 16 I can see a clear peak in the visitor-amount. Also looking at what pages are visited it is very clear that Lua is definately the most interesting thing in Jeti-stuff right now.

What comes to the boomerang, yes, I agree with you. It's a thin line.

One more thing, put this line in to your local function loop(), just before the loop-closing end:

print(collectgarbage('count'))

Now run your app, memory-usage (in kB) is shown in console.
Folgende Benutzer bedankten sich: wstech, Sepp62

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Thorn
  • Offline
  • Moderator
  • Moderator
  • Beiträge: 3464
  • Thanks: 1485

Re: Save memory on Lua-apps! Great app from Jetimodel

06 Jan. 2017 21:46
#
I have just tested it is amistered that the problem with the sounds is only now is the problem that the battery on the screen remains to 99.4 per cent. Had as a sensor a unisence E installed. No matter if I use voltage or capacity it simply does not happen ..... Do they have an idea Tores?

Danke Jeti
!! Bitte alle meine Apps vom Sender Löschen!

Sorry, wegen meiner Rechtschreibung und Grammatik!!!

Lg Thorn

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Sepp62
  • Offline
  • Elite Mitglied
  • Elite Mitglied
  • Beiträge: 307
  • Thanks: 154

Re: Save memory on Lua-apps! Great app from Jetimodel

06 Jan. 2017 21:51
#
Thanks for your advice with the "collectgarbage" command.

I found another way to show the GC value:
- Activate Lua console (F1)
- Press the info key (F1)
- Press Refresh (F3) and Yes (F5)

GC Count value is printed to console.

Since the active Lua script does not contain any collectgarbage-statement, I assume that the output is generated by "the system".

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • TeroS
  • Autor
  • Offline
  • Platinum Mitglied
  • Platinum Mitglied
  • RC-Thoughts
  • Beiträge: 527
  • Thanks: 370

Re: Re:Save memory on Lua-apps! Great app from Jetimodel

06 Jan. 2017 23:33
#
Activate Lua console where? I cant get that to sum up.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Sepp62
  • Offline
  • Elite Mitglied
  • Elite Mitglied
  • Beiträge: 307
  • Thanks: 154

Re: Re:Save memory on Lua-apps! Great app from Jetimodel

07 Jan. 2017 08:04
#
:unsure: Ah ok, I saw this only works in DC24 Emulator. Sorry for misinformation.:unsure:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Moderatoren: ThornIG-Modellbau
Ladezeit der Seite: 0.531 Sekunden
Powered by Kunena Forum