I understand there are some issues with memory clean-up.
What guidelines should be followed to ensure that memory leaking is kept to a minimum, or avoided?
Regards,
Rupert
Moderators: roger, 99jonathan, imaqine
import lejos.nxt.LCD;
public class HelloWorld {
public static void main(String[] args) {
String s = "hello";
for(int i = 0; i<10000; i++)LCD.drawString(s,0,0);
}
}
Users browsing this forum: Google [Bot] and 3 guests