Lua memory on mk1?

Discussion on the Lua Scripting capabilities for RaceCapture/Pro. Also see the <a href="http://autosportlabs.net/RaceCapturePro_Lua_Scripting">Lua Scripting Guide</a>

Moderators: JeffC, stieg

Post Reply
toga94m
Posts: 127
Joined: Wed Jun 05, 2013 1:57 am
Location: Upstate NY

Lua memory on mk1?

Post by toga94m »

How large a script can a MK1 RCP handle? I was getting crashes/restarts all night trying to get my CANx running with the example Megasquirt script. Eventually thinned it down to about 1250 bytes (removing comments etc) and it works, but I'm down to only two variables. Has anyone else run into memory limits, or am I the only MK1 holdout?

http://www.autosportlabs.net/Megasquirt_CAN
Attachments
lua out of mem.png
lua out of mem.png (64.34 KiB) Viewed 1291 times
------------
Learning Race Capture Pro... on someone else's car
Learning Python/Kivy on my own PC

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Be sure to check out firmware 2.8.5; we've optimized the memory usage and put additional protections around memory over-run situations.

-Brent
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

Post Reply