tg-me.com/PineCodersSquawkBox/81
Last Update:
🔈 #news
More on the "Memory limits exceeded" error message
The memory management logic that caused the error yesterday was turned off at the end of the day. It will soon be reactivated. While it will cause inconveniences, this step paves the way for significant improvements for most coders and users.
Previously, a few scripts consuming large amounts of memory often caused load imbalances that negatively impacted the execution time of many more "normal" scripts on the platform. Additionally, the advent of line and label drawings, and arrays very soon, put additional strain on resource consumption. Because there was previously no supervision of memory used by scripts, artificially low limits were imposed on features such as drawings.
Supervising memory usage will streamline resource use across all scripts on the platform, which will in turn allow the Pine team to increase the number of drawings allowed, provide a smoother environment for the coming arrays to operate in, and improve execution time for the majority of scripts on the platform. We believe these benefits largely offset the efforts that will be required for the few coders of resource-hungry scripts to optimize or adapt their scripts.
Note that the most frequent cause for the error involves the use of max_bars_back = 5000
in scripts, which is often unnecessary. See this Help Center page for more information on how to avoid the error, and this page to understand how to use max_bars_back
correctly.
BY PineCoders Squawk Box
Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283
Share with your friend now:
tg-me.com/PineCodersSquawkBox/81