Kkula
Browse Questions » Meet & Talk: Mas 5: Tc65 - get an out of memory fault when the data is over 80K.

About User

Questions Asked: 3.6K

Answers Given: 0

0
  • Open
  • New

Meet & Talk: Mas 5: Tc65 - get an out of memory fault when the data is over 80K.

I have a simple application which connects the TC65 to a serial printer port on a logging device & forwards the data via email. I need to accommodate ~150Kbytes in a single email, but I get an out of memory fault when the data is over 80K.
JAVA ERROR: Unrecoverable error in MIDlet.startApp() java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
(stack trace incomplete)
ASC0 closed
I buffer the data into a string buffer while the data is comming in, then after a 3 second timeout I of not more data construct the email.
I understand the device has 400K so I would think it should cope. Please advise
John

0 Likes 0 Favourites 0 Followers 0 Comments
Answers(0)