Lua function to override memory limit

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
psfp
Posts: 49
Joined: Mon Aug 21, 2017 10:40 pm
Location: DF - Brazil

Lua function to override memory limit

Post by psfp »

Hi guys,

What is this Lua function to override memory limit mentioned in 2.15 firmware changelog? I didn't find anything about it. I'm having memory issues after I updated my RCP MK3 from 2.14 to 2.16.

Regards,
--Paulo

psfp
Posts: 49
Joined: Mon Aug 21, 2017 10:40 pm
Location: DF - Brazil

Post by psfp »

Alright, the Lua function is:

setMaxMem(x)

Where "x" is the memory value set by the user.
--Paulo

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

Post by brentp »

That's correct.

In the upcoming firmware (2.17.0) we are doing some optimizations that will free up about 1K more of space. Every bit matters!
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

Post Reply