Hi Forum,
I am working on an Arduino project on the Arduino Yún that involves many different tweets that must be tweeted in order. Many of these tweets are long (as far as a tweet goes) and I found that I ran out of memory. I expanded the Yún disk space, following the instructions from this tutorial, but still found that I ran out of memory. This is the error message:
Sketch uses 16,814 bytes (58%) of program storage space. Maximum is 28,672 bytes.
Global variables use 2,620 bytes (102%) of dynamic memory, leaving -60 bytes for local variables. Maximum is 2,560 bytes.
processing.app.debug.RunnerException: Not enough memory; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing your footprint.
at processing.app.Sketch.size(Sketch.java:1679)
at processing.app.Sketch.build(Sketch.java:1589)
at processing.app.Sketch.exportApplet(Sketch.java:1610)
at processing.app.Sketch.exportApplet(Sketch.java:1596)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2392)
at java.lang.Thread.run(Thread.java:745)
Not enough memory; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing your footprint.
I am completely confused because I formatted a 32GB SD CARD so that roughly 1/3 of it (10.3G) is partitioned. When I type df -h / /mnt/sda1 after connecting to the Yún through terminal I see this:
Filesystem Size Used Available Use% Mounted on
rootfs 18.9G 46.3M 17.9G 0% /
/dev/sda1 10.3G 24.0K 10.3G 0% /mnt/sda1
Shouldn't I have 10.3G to use. I may have many tweets but I know for sure that they would definitely not take up more that than 10.3GBs!!! What is going on!!!! Please respond quickly!!!
Thanks,
ma7730