Report as Inappropriate

You are reporting a comment on Filament Width Sensor Prototype Version 3 as a violation of the Thingiverse Terms of Service. Thank you for taking the time to bring this matter to our attention. To help our team best respond to this issue please take a few moments to describe what brought this matter to your attention.

I have had a similar problem with a teensy based controller running out of ram space with an lcd, bed levelling, and filament sensor features enabled. I ended up giving up on the lcd. I think the mega has more ram but it might be the same problem. You could try lowering the memory usage to 15cm to use less memory. To test if it is a memory problem you could temporarily reduce the memory buffer and the distance from the sensor even more. You could also temporarily drop the lcd support to see if that helps -to diagnose the problem. What version of marlin are you using? You should log this issue out on the marlin github site so that it's properly tracked. I will take a look at the code.