Alright, the Lua function is:
setMaxMem(x)
Where "x" is the memory value set by the user.
Search found 49 matches
- Mon Jun 10, 2019 8:40 pm
- Forum: Lua Scripting
- Topic: Lua function to override memory limit
- Replies: 2
- Views: 1653
- Tue Jun 04, 2019 10:43 am
- Forum: Lua Scripting
- Topic: Can't recover from out of memory
- Replies: 15
- Views: 4747
- Sun Jun 02, 2019 5:25 pm
- Forum: Lua Scripting
- Topic: Lua function to override memory limit
- Replies: 2
- Views: 1653
Lua function to override memory limit
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,
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,
- Mon Sep 03, 2018 2:05 pm
- Forum: Lua Scripting
- Topic: Looking for help with out of memory errors
- Replies: 4
- Views: 3621
Yes, you can see I reduced the number of ShiftX2 scripts from 15 (or so) to only 1 (kept sxTx). This way you shouldn't have any memory issues. Believe me, my personal script is much bigger and more complex and I don't have issues even when I run RCP continuously for hours. If the script runs (I didn...
- Thu Aug 23, 2018 7:43 pm
- Forum: Feature Requests
- Topic: More Memory for Lua Script Section
- Replies: 24
- Views: 14983
Would you mind to share your script so I can take a look? I found out the lenght of the script is not the determinating factor regarding the memory issues. It's more related to number of functions, variables and virtual channels. Even the "optional" arguments in virtual channel creation will make di...
- Tue Aug 21, 2018 6:05 pm
- Forum: Lua Scripting
- Topic: Looking for help with out of memory errors
- Replies: 4
- Views: 3621
You may try the following script. It should do exactly the same thing as your own script (except for the Alert lights). Please note you don't need the "brake status" channel, as it was the same thing as the Gpio(1) input, which is already logged anyway. You can just rename the Gpio channel in GUI (R...
- Tue Aug 21, 2018 3:21 pm
- Forum: Lua Scripting
- Topic: Looking for help with out of memory errors
- Replies: 4
- Views: 3621
- Mon Jun 25, 2018 12:17 am
- Forum: Lua Scripting
- Topic: Help with script optimization
- Replies: 6
- Views: 4427
You can also try the following: 1) Make all your functions "local", Minifier will shrink the function names if you do so; 2) Remove as much ShiftX2 functions as you can and use sxTx function directly everytime you can. sxTx is the only ShiftX2 function that I use in my own script, my script is huge ...
- Mon Apr 02, 2018 8:13 pm
- Forum: CAN mapping discussion
- Topic: Evo X canbus mapping
- Replies: 16
- Views: 15633
Sawdust, Just enable RAX fast logging in your ROM, it's straightfoward and won't mess with your current tune: https://www.evolutionm.net/forums/ecuflash/721325-rax-patch-version-3-limited-test-phase.html I developed a Lua Script based on Mash's work a while ago, it works perfectly on non-Tephra ROMs...
- Tue Jan 23, 2018 8:20 pm
- Forum: Bug Reporting
- Topic: Can't disable predictive timing
- Replies: 13
- Views: 7659
- Mon Jan 22, 2018 10:18 pm
- Forum: Bug Reporting
- Topic: Can't disable predictive timing
- Replies: 13
- Views: 7659
- Mon Jan 22, 2018 10:03 pm
- Forum: Bug Reporting
- Topic: Can't disable predictive timing
- Replies: 13
- Views: 7659
Hi,
Looks like the issue happens when "Predictive Timing" setting is changed. When "Race Timing" is "on" and "Predictive Timing" is changed from "off" to "on" or from "on" to "off", "Race Timing" is set to "off" as well:
I recorded a video:
https://youtu.be/_WAbjLwZe2w
Looks like the issue happens when "Predictive Timing" setting is changed. When "Race Timing" is "on" and "Predictive Timing" is changed from "off" to "on" or from "on" to "off", "Race Timing" is set to "off" as well:
I recorded a video:
https://youtu.be/_WAbjLwZe2w
- Mon Jan 22, 2018 6:20 pm
- Forum: Bug Reporting
- Topic: Can't disable predictive timing
- Replies: 13
- Views: 7659
- Thu Jan 18, 2018 9:47 pm
- Forum: Bug Reporting
- Topic: Can't disable predictive timing
- Replies: 13
- Views: 7659
- Sun Dec 10, 2017 7:26 pm
- Forum: RaceCapture App Operation and General Q&A
- Topic: Raspberry Pi support - enables a hard-wired, dedicated dash
- Replies: 119
- Views: 74077
It was really simple (after I figured it out, of course :lol: ) I just added a "cursor = 1" row in Kivy's config.ini file In which section? I've tried all of the obvious places, but I don't see "cursor = 1" mentioned in any of the relevant Kivy documentation (did you mean show_cursor?) In modules s...