Welcome! Log In Create A New Profile

Advanced

Marlin 2.0 Low Memory Warning

Posted by tanmay 
Marlin 2.0 Low Memory Warning
December 30, 2018 08:36AM
Hi All,

I am configuring Marlin for my 3D printer and I have run into a warning:

Sketch uses 207664 bytes (81%) of program storage space. Maximum is 253952 bytes.
Global variables use 7779 bytes (94%) of dynamic memory, leaving 413 bytes for local variables. Maximum is 8192 bytes.
Low memory available, stability problems may occur.

I was wondering if anyone has any suggestions to reduce the dynamic memory usage, ideally without removing many of the extra features. tongue sticking out smiley
Is it possible to use an I2C memory chip to expand the SRAM?
I was thinking there may be some unneccesary variables like thermistor tables that I could get rid off, but I am not sure if those would make a difference.

Perhaps it is actually fine to only have 413 bytes, is it best for me to just test the firmware on my printer?

Thanks,

Tanmay
Re: Marlin 2.0 Low Memory Warning
December 30, 2018 09:08AM
This is a very interesting question which brings up even more questions.

I too would like to know if there is a way to expand the SRAM.

Edited 3 time(s). Last edit at 12/30/2018 09:19AM by Roberts_Clif.


Computer Programmer / Electronics Technician
Sorry, only registered users may post in this forum.

Click here to login