Program freezes after some minutes

Hi,
my program on my spider is running without problems, but after about 10-15 minutes it freezes. It throws no obvious exception except of this debug print:

[quote]GC: 355msec 234336 bytes used, 12806712 bytes available
Type 0F (STRING ): 1476 bytes
Type 11 (CLASS ): 16008 bytes
Type 12 (VALUETYPE ): 1764 bytes
Type 13 (SZARRAY ): 6624 bytes
Type 15 (FREEBLOCK ): 12806712 bytes
Type 16 (CACHEDBLOCK ): 216 bytes
Type 17 (ASSEMBLY ): 37032 bytes
Type 18 (WEAKCLASS ): 240 bytes
Type 19 (REFLECTION ): 204 bytes
Type 1B (DELEGATE_HEAD ): 1692 bytes
Type 1D (OBJECT_TO_EVENT ): 408 bytes
Type 1E (BINARY_BLOB_HEAD ): 154092 bytes
Type 1F (THREAD ): 1536 bytes
Type 20 (SUBTHREAD ): 144 bytes
Type 21 (STACK_FRAME ): 7452 bytes
Type 22 (TIMER_HEAD ): 360 bytes
Type 23 (LOCK_HEAD ): 60 bytes
Type 24 (LOCK_OWNER_HEAD ): 24 bytes
Type 27 (FINALIZER_HEAD ): 192 bytes
Type 31 (IO_PORT ): 252 bytes
Type 33 (I2C_XACTION ): 48 bytes
Type 34 (APPDOMAIN_HEAD ): 72 bytes
Type 36 (APPDOMAIN_ASSEMBLY ): 4440 bytes
[/quote]

Is this a memory-problem?

with the memory on a Spider, it’s unlikely !

How did you prove it’s “frozen”? What does your app do and what stops?

Actually its just measuring Accelerometer & gyro values and showing them on the display. After some time the values stop updating on my display. It doesn’t store the values, in an array for example…

355 ms in gargabe collection is a lot of time.

have you tried to pause the program in the debugger and see what is happening?

Your question is missing one or more of these details:[ul]
The name of the product.
The code you’re trying to run.
Details on your setup.[/ul]
(Generated by QuickReply)

Your binary blob head is quite big. Serial related?