I'm a student working on a project with Mindstorms NXT using the Lejos Firmware.
I wrote a nice program for my bot enabling it to overcome obstacles, follow black lines and recognizing white marks. Everything is working fine, but after repeating some of the sub-programs (I use a big application loop including a menu), it runs out of memory.
I don't use any local variables like Strings or counters which could consume the memory when its function is called again and again.
Does somebody know a memory leak in the VM or any other trap I could have stepped in?
I also found the Recycler Interface and its related classes but there was no example and I couldn't find any further documentation about it.
Maybe somebody has used these classes before and can give me little start up?
Maybe there is something to find about my problem in the new book about Lejos Programing but I'm still waiting for the delivery..
Thanx in advance,
To the void we have to travel.