Go Down

Topic: SRAM and storing strings (Read 8256 times) previous topic - next topic


Apr 10, 2012, 11:46 am Last Edit: Apr 10, 2012, 11:50 am by dhunt Reason: 1

In comparison, Arudino is a much bigger memory hog than C# or Java on a non-embedded system (desktop/server). I never ran out of memory there and it was never a consideration.

LOL! Java is a massive memory hog. Many megabytes of ram for simple apps, and it keeps growing. Don't try and use it for anything serious in an embedded environment, even if you have 256Mb of ram to spare.

I don't see how you can seriously compare a Java app running on a desktop to what you want to do on an Arduino with 2Kb of RAM.

The Arduino uses C++, with libraries optimized for low memory use.  The String library is a C++ library with very poor low memory characteristics. Be smarter and don't use it.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131