braydenanderson2014 / C-Arduino-Libraries

This repository contains C++ and Arduino Libraries that are lightweight and easy to use. All libraries were created/mimicked by me and chatgpt.
Apache License 2.0
13 stars 0 forks source link

SDList Memory Usage is extremely High at build #31

Closed braydenanderson2014 closed 8 months ago

braydenanderson2014 commented 11 months ago

Describe the Issue Memory Usage shows at 90+ % at build on an Arduino Uno.

Library Name and Version: Name: SDList Version: 1.0.1

Environment:

Library Source:

Expected Behavior This library is meant to reduce memory usage, not increase it.

Actual Behavior Memory Usage is about 90-96% at build with the library declared, and a few append() function calls and a few get() calls.

braydenanderson2014 commented 11 months ago

Memory Usage being high only seems to be a problem on more memory constrained devices such as the Arduino Uno. When compiling for the Mega, Memory usage is around 1-2% usage. On the Uno, the Current Github version of the code will build at 110% of the memory. Working on trying to fix that but it may not be possible. We will see.

braydenanderson2014 commented 8 months ago

This issue has been patched in the latest version. Current Memory Specs for Arduino uno is around 42.6% Ram usage, and 49.6% Flash Usage. On the Arduino Mega the specs are around 10.7% Ram, and 6.6% Flash. This is a huge upgrade for the uno specs.