Trivia memory usage
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Trivia memory usage

Started by NemeziS, 14 March, 2005, 18:55:51

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NemeziS

Hi, great scripters!

I have a question. I noticed that my trivia game uses nearly

2100 kb   - memory usage

and

2600 kb   - garbage collector

while other scripts use from 50 kb to 100 kb (peak - 150 kb)

Is it normal for trivia? May it be a reason of my PtokaX 15.25 crash?

Thanx a lot.

Best regards,
NemeziS
--LUA forever! =)

Tw?sT?d-d?v

Hmmmm.....

i got triv running

mem.usage=266kb

garbage=286kb

hub running ptokax 16.06 / robocop 10 / anagrames / funscript

NemeziS

#2
i don't use RoboCop or some multiscripts.
I just edited Trivia a little. But may it be a reason of my PtokaX crash?

If it is, I will show you my trivia script.

Best regards,
NemeziS
--LUA forever! =)

plop

#3
check the size of the questions file.
some trivia scripts load them fully into memory, this can cause the big mem usage.
but this isn't bad, it safes you from re-opening the file on every question and thereby it works faster.

try finding 15.18 (don't ask me or any 1 else on the board 2 give it 2 you).
it's a much more stable.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

SMF spam blocked by CleanTalk