If an Arduino Mega only has 8 kb of SRAM, how am I able to use 14 kb without bugs? -


solved apologies wasting peoples' time, comment on compiling verbose made me realize i'm using 91% available, had 0 in 1 of calculations!

i've been working on arduino sketch number of years, adding more variable declarations. upped size of array of longs 24*70 24*100 , seemed cause unexplainable errors. (i have many other arrays biggest.)

i decided count how many bytes approximately declaring in sketch , counting bigger array structures came approximate number of @ least 14,000 bytes (taking account longs 4 bytes etc).

how possible? other 6000 bytes being stored? should add i've been using number of years, upping of bytes used 14 kb approximately 17 kb caused bugs.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -